Browse Source

fix to avoid nil file an dirty pages

pull/1273/head
Chris Lu 5 years ago
parent
commit
56ec8c4513
  1. 2
      weed/filesys/filehandle.go

2
weed/filesys/filehandle.go

@ -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
}

Loading…
Cancel
Save