1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-03 09:10:10 +02:00

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
}
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() {