nfs4: Add stub fsync() hook

This commit is contained in:
Pawel Dziepak
2012-06-29 02:15:25 +02:00
parent 4318f15fa1
commit b85115ddfd
@@ -213,6 +213,14 @@ nfs4_set_flags(fs_volume* volume, fs_vnode* vnode, void* _cookie, int flags)
}
static status_t
nfs4_fsync(fs_volume* volume, fs_vnode* vnode)
{
// Currently, there is no cache and all writes are FILE_SYNC4
return B_OK;
}
static status_t
nfs4_read_symlink(fs_volume* volume, fs_vnode* link, char* buffer,
size_t* _bufferSize)
@@ -564,7 +572,7 @@ fs_vnode_ops gNFSv4VnodeOps = {
nfs4_set_flags,
NULL, // fs_select()
NULL, // fs_deselect()
NULL, // fsync()
nfs4_fsync,
nfs4_read_symlink,
nfs4_create_symlink,