aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/fusefrontend/file.go')
-rw-r--r--internal/fusefrontend/file.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/fusefrontend/file.go b/internal/fusefrontend/file.go
index cbf78e9..4866e65 100644
--- a/internal/fusefrontend/file.go
+++ b/internal/fusefrontend/file.go
@@ -427,7 +427,10 @@ func (f *File) Flush(ctx context.Context) syscall.Errno {
return fs.ToErrno(err)
}
-// Fsync FUSE call
+// Fsync: handles FUSE opcode FSYNC
+//
+// Unfortunately, as Node.Fsync is also defined and takes precedence,
+// File.Fsync is never called at the moment.
func (f *File) Fsync(ctx context.Context, flags uint32) (errno syscall.Errno) {
f.fdLock.RLock()
defer f.fdLock.RUnlock()