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:
Andy Adamson
2011-03-12 02:58:10 -05:00
committed by Trond Myklebust
parent de4b15c7e9
commit ef31153786
6 changed files with 12 additions and 10 deletions

View File

@@ -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;
}