FUSE mount: fix file id written twice?

fix https://github.com/chrislusf/seaweedfs/issues/1373
This commit is contained in:
Chris Lu
2020-06-25 20:11:49 -07:00
parent 212c64241b
commit 3cec4b3c49
3 changed files with 8 additions and 3 deletions

View File

@@ -212,7 +212,7 @@ func (file *File) Fsync(ctx context.Context, req *fuse.FsyncRequest) error {
func (file *File) Forget() {
t := util.NewFullPath(file.dir.FullPath(), file.Name)
glog.V(3).Infof("Forget file %s", t)
glog.V(4).Infof("Forget file %s", t)
}
func (file *File) maybeLoadEntry(ctx context.Context) error {