Browse Source

update metadata only if changed

pull/1427/head
Chris Lu 4 years ago
parent
commit
e0bfd3161a
  1. 4
      weed/filesys/file.go

4
weed/filesys/file.go

@ -170,6 +170,10 @@ func (file *File) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *f
return nil
}
if !file.dirtyMetadata {
return nil
}
return file.saveEntry()
}

Loading…
Cancel
Save