From e70f740deb210672a0d409628b839c56eb867d91 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 24 Jan 2019 19:38:04 -0800 Subject: [PATCH] set file attributes fix https://github.com/chrislusf/seaweedfs/issues/847 --- weed/filesys/file.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/weed/filesys/file.go b/weed/filesys/file.go index 4bb169a33..6c07345a0 100644 --- a/weed/filesys/file.go +++ b/weed/filesys/file.go @@ -74,10 +74,6 @@ func (file *File) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *f return err } - if file.isOpen { - return nil - } - glog.V(3).Infof("%v file setattr %+v, old:%+v", file.fullpath(), req, file.entry.Attributes) if req.Valid.Size() {