Browse Source

correctly clean up for a file

pull/2727/head
chrislu 3 years ago
parent
commit
de77d00c81
  1. 1
      weed/mount/weedfs_forget.go

1
weed/mount/weedfs_forget.go

@ -65,4 +65,5 @@ func (wfs *WFS) Forget(nodeid, nlookup uint64) {
wfs.inodeToPath.Forget(nodeid, nlookup, func(dir util.FullPath) {
wfs.metaCache.DeleteFolderChildren(context.Background(), dir)
})
delete(wfs.fhmap.inode2fh, nodeid)
}
Loading…
Cancel
Save