# File lib/fuse/rfusefs-fuse.rb, line 333 def fsync(ctx,path,datasync,ffi) return wrap_context(ctx,__method__,path,datasync,ffi) if ctx fh = ffi.fh if fh && fh.raw if FuseFS::RFUSEFS_COMPATIBILITY @root.raw_sync(path,datasync != 0,fh.raw) else @root.raw_sync(path,datasync != 0) end else flush(nil,path,ffi) end end