mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
update. clean code duplicated
Signed-off-by: leonrayang <chl696@sina.com>
This commit is contained in:
parent
2a17245c85
commit
ff4eb8d822
@ -587,10 +587,6 @@ func (mw *MetaWrapper) AppendExtentKey(parentInode, inode uint64, ek proto.Exten
|
||||
oldInfo, _ = mw.InodeGet_ll(inode)
|
||||
}
|
||||
|
||||
if mw.EnableSummary {
|
||||
oldInfo, _ = mw.InodeGet_ll(inode)
|
||||
}
|
||||
|
||||
status, err := mw.appendExtentKey(mp, inode, ek, discard)
|
||||
if err != nil || status != statusOK {
|
||||
log.LogErrorf("AppendExtentKey: inode(%v) ek(%v) local discard(%v) err(%v) status(%v)", inode, ek, discard, err, status)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user