fix possible error when reusing file handles

This commit is contained in:
Chris Lu
2018-11-13 23:53:17 -08:00
parent a62adf62ca
commit 11b0a9cb76
2 changed files with 4 additions and 3 deletions

View File

@@ -163,7 +163,7 @@ func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) err
glog.V(4).Infof("%v release fh %d", fh.f.fullpath(), fh.handle)
fh.f.wfs.ReleaseHandle(fuse.HandleID(fh.handle))
fh.f.wfs.ReleaseHandle(fh.f.fullpath(), fuse.HandleID(fh.handle))
fh.f.isOpen = false