mirror of
https://github.com/rclone/rclone.git
synced 2025-06-20 11:47:57 +02:00
mount: Make fsync be a no-op for direectories too #1045
This commit is contained in:
parent
f11867d810
commit
8a11da4e14
@ -420,3 +420,13 @@ func (d *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDir fusefs
|
|||||||
fs.ErrorLog(newPath, "Dir.Rename renamed from %q", oldPath)
|
fs.ErrorLog(newPath, "Dir.Rename renamed from %q", oldPath)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check interface satisfied
|
||||||
|
var _ fusefs.NodeFsyncer = (*Dir)(nil)
|
||||||
|
|
||||||
|
// Fsync the directory
|
||||||
|
//
|
||||||
|
// Note that we don't do anything except return OK
|
||||||
|
func (d *Dir) Fsync(ctx context.Context, req *fuse.FsyncRequest) error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user