mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:52:50 +08:00
release file handle
This commit is contained in:
parent
3639fedd01
commit
554e239097
@ -65,5 +65,5 @@ func (wfs *WFS) Forget(nodeid, nlookup uint64) {
|
|||||||
wfs.inodeToPath.Forget(nodeid, nlookup, func(dir util.FullPath) {
|
wfs.inodeToPath.Forget(nodeid, nlookup, func(dir util.FullPath) {
|
||||||
wfs.metaCache.DeleteFolderChildren(context.Background(), dir)
|
wfs.metaCache.DeleteFolderChildren(context.Background(), dir)
|
||||||
})
|
})
|
||||||
delete(wfs.fhmap.inode2fh, nodeid)
|
wfs.fhmap.ReleaseByInode(nodeid)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user