Added Fsync
This commit is contained in:
parent
9d28a2a1f8
commit
5d71ae245c
@ -241,6 +241,10 @@ func (fh *bytesFileWriteHandle) Flush(ctx context.Context) (errno syscall.Errno)
|
|||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
var _ = (fs.FileFsyncer)((*bytesFileWriteHandle)(nil))
|
||||||
|
func (fh *bytesFileWriteHandle) Fsync(ctx context.Context, flags uint32) (errno syscall.Errno) {
|
||||||
|
return fh.Flush(ctx)
|
||||||
|
}
|
||||||
|
|
||||||
var _ = (fs.NodeGetattrer)((*ITNode)(nil))
|
var _ = (fs.NodeGetattrer)((*ITNode)(nil))
|
||||||
func (bn *ITNode) Getattr(ctx context.Context, f fs.FileHandle, out *fuse.AttrOut) syscall.Errno {
|
func (bn *ITNode) Getattr(ctx context.Context, f fs.FileHandle, out *fuse.AttrOut) syscall.Errno {
|
||||||
|
Loading…
Reference in New Issue
Block a user