aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/pnfs.c')
-rw-r--r--fs/nfs/pnfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index 568ab0eef677..212fc292761a 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -1043,7 +1043,7 @@ out_forget_reply:
1043 goto out; 1043 goto out;
1044} 1044}
1045 1045
1046int 1046bool
1047pnfs_generic_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, 1047pnfs_generic_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev,
1048 struct nfs_page *req) 1048 struct nfs_page *req)
1049{ 1049{
@@ -1070,7 +1070,7 @@ pnfs_generic_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev,
1070 } else if (pgio->pg_lseg && 1070 } else if (pgio->pg_lseg &&
1071 req_offset(req) > end_offset(pgio->pg_lseg->pls_range.offset, 1071 req_offset(req) > end_offset(pgio->pg_lseg->pls_range.offset,
1072 pgio->pg_lseg->pls_range.length)) 1072 pgio->pg_lseg->pls_range.length))
1073 return 0; 1073 return false;
1074 return NFS_SERVER(pgio->pg_inode)->pnfs_curr_ld->pg_test(pgio, prev, req); 1074 return NFS_SERVER(pgio->pg_inode)->pnfs_curr_ld->pg_test(pgio, prev, req);
1075} 1075}
1076 1076