NFSv4.1 convert layoutcommit sync to boolean
Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
committed by
Trond Myklebust
parent
de4b15c7e9
commit
ef31153786
@@ -328,7 +328,7 @@ nfs_file_fsync(struct file *file, int datasync)
|
||||
ret = status;
|
||||
if (!ret && !datasync)
|
||||
/* application has asked for meta-data sync */
|
||||
ret = pnfs_layoutcommit_inode(inode, 1);
|
||||
ret = pnfs_layoutcommit_inode(inode, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user