aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r--fs/nfs/pnfs.h4
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);
155void pnfs_roc_set_barrier(struct inode *ino, u32 barrier); 155void pnfs_roc_set_barrier(struct inode *ino, u32 barrier);
156bool pnfs_roc_drain(struct inode *ino, u32 *barrier); 156bool pnfs_roc_drain(struct inode *ino, u32 *barrier);
157void pnfs_set_layoutcommit(struct nfs_write_data *wdata); 157void pnfs_set_layoutcommit(struct nfs_write_data *wdata);
158int pnfs_layoutcommit_inode(struct inode *inode, int sync); 158int pnfs_layoutcommit_inode(struct inode *inode, bool sync);
159 159
160static inline int lo_fail_bit(u32 iomode) 160static 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
331static inline int pnfs_layoutcommit_inode(struct inode *inode, int sync) 331static inline int pnfs_layoutcommit_inode(struct inode *inode, bool sync)
332{ 332{
333 return 0; 333 return 0;
334} 334}