mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(client): do not remove node cache when dir is released
close:#21990545 Signed-off-by: chihe <chihe@oppo.com>
This commit is contained in:
parent
8b0aeef378
commit
17165dc792
@ -164,6 +164,9 @@ func (d *Dir) Release(ctx context.Context, req *fuse.ReleaseRequest) (err error)
|
||||
log.LogDebugf("TRACE Release exit: ino(%v) name(%v)", d.info.Inode, d.name)
|
||||
}()
|
||||
d.dctx.Clear()
|
||||
d.dcache.Clear()
|
||||
ino := d.info.Inode
|
||||
d.super.ic.Delete(ino)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user