set file attributes
fix https://github.com/chrislusf/seaweedfs/issues/847
This commit is contained in:
@@ -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() {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user