fix to avoid nil file an dirty pages

This commit is contained in:
Chris Lu committed 2020-04-09 21:43:05 -07:00
1 parent 59f40e2027
commit 56ec8c4513
1 file changed
-2
-2
View File
@@ -161,8 +161,6 @@ func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) err
}
fh.f.entryViewCache = nil
fh.f.reader = nil
fh.dirtyPages = nil
fh.f = nil
return nil
}