set file attributes

fix https://github.com/chrislusf/seaweedfs/issues/847
This commit is contained in:
Chris Lu 2019-01-24 19:38:04 -08:00
parent 3f56b12ed4
commit e70f740deb

View file

@ -74,10 +74,6 @@ func (file *File) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *f
return err return err
} }
if file.isOpen {
return nil
}
glog.V(3).Infof("%v file setattr %+v, old:%+v", file.fullpath(), req, file.entry.Attributes) glog.V(3).Infof("%v file setattr %+v, old:%+v", file.fullpath(), req, file.entry.Attributes)
if req.Valid.Size() { if req.Valid.Size() {