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/pnfs.h | |
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/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index 0806c77862b6..33b9ae90c6f7 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h | |||
@@ -155,7 +155,7 @@ void pnfs_roc_release(struct inode *ino); | |||
155 | void pnfs_roc_set_barrier(struct inode *ino, u32 barrier); | 155 | void pnfs_roc_set_barrier(struct inode *ino, u32 barrier); |
156 | bool pnfs_roc_drain(struct inode *ino, u32 *barrier); | 156 | bool pnfs_roc_drain(struct inode *ino, u32 *barrier); |
157 | void pnfs_set_layoutcommit(struct nfs_write_data *wdata); | 157 | void pnfs_set_layoutcommit(struct nfs_write_data *wdata); |
158 | int pnfs_layoutcommit_inode(struct inode *inode, int sync); | 158 | int pnfs_layoutcommit_inode(struct inode *inode, bool sync); |
159 | 159 | ||
160 | static inline int lo_fail_bit(u32 iomode) | 160 | static inline int lo_fail_bit(u32 iomode) |
161 | { | 161 | { |
@@ -328,7 +328,7 @@ static inline void pnfs_clear_request_commit(struct nfs_page *req) | |||
328 | { | 328 | { |
329 | } | 329 | } |
330 | 330 | ||
331 | static inline int pnfs_layoutcommit_inode(struct inode *inode, int sync) | 331 | static inline int pnfs_layoutcommit_inode(struct inode *inode, bool sync) |
332 | { | 332 | { |
333 | return 0; | 333 | return 0; |
334 | } | 334 | } |