do not read attributes when file is opened

This commit is contained in:
Chris Lu
2018-05-25 01:27:21 -07:00
parent 6d1bcd4b8c
commit ac66c133a5
3 changed files with 7 additions and 1 deletions

View File

@@ -184,6 +184,8 @@ func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) err
glog.V(3).Infof("%+v/%v release fh", fh.f.dir.Path, fh.f.Name)
fh.f.isOpen = false
return nil
}