diff options
author | Andy Adamson <andros@netapp.com> | 2011-03-12 02:58:10 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-24 15:49:48 -0400 |
commit | ef31153786bc1e4304e6b9422cc8b9efef455611 (patch) | |
tree | 32739af2c6b0f2ab0fdf05e84b674d94721ffa6d /fs/nfs/file.c | |
parent | de4b15c7e9fe9fdd1eb6333be0a08c822db1ca0e (diff) |
NFSv4.1 convert layoutcommit sync to boolean
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r-- | fs/nfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index 85cb95de5df5..3ac5bd695e5e 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c | |||
@@ -328,7 +328,7 @@ nfs_file_fsync(struct file *file, int datasync) | |||
328 | ret = status; | 328 | ret = status; |
329 | if (!ret && !datasync) | 329 | if (!ret && !datasync) |
330 | /* application has asked for meta-data sync */ | 330 | /* application has asked for meta-data sync */ |
331 | ret = pnfs_layoutcommit_inode(inode, 1); | 331 | ret = pnfs_layoutcommit_inode(inode, true); |
332 | return ret; | 332 | return ret; |
333 | } | 333 | } |
334 | 334 | ||