aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4filelayout.c
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2011-05-25 14:03:56 -0400
committerBoaz Harrosh <bharrosh@panasas.com>2011-05-29 13:56:54 -0400
commit18ad0a9f2ccd260d37dd6bc5fa04c7819def4c84 (patch)
treea0936cf11e81969c0f84716ab958cd4728c87f54 /fs/nfs/nfs4filelayout.c
parentdfed206b8857d41a91ebba030f99e30017a44dda (diff)
NFSv4.1: change pg_test return type to bool
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'fs/nfs/nfs4filelayout.c')
-rw-r--r--fs/nfs/nfs4filelayout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/nfs4filelayout.c b/fs/nfs/nfs4filelayout.c
index 33bda24e8cd2..24f05720daf1 100644
--- a/fs/nfs/nfs4filelayout.c
+++ b/fs/nfs/nfs4filelayout.c
@@ -651,10 +651,10 @@ filelayout_alloc_lseg(struct pnfs_layout_hdr *layoutid,
651/* 651/*
652 * filelayout_pg_test(). Called by nfs_can_coalesce_requests() 652 * filelayout_pg_test(). Called by nfs_can_coalesce_requests()
653 * 653 *
654 * return 1 : coalesce page 654 * return true : coalesce page
655 * return 0 : don't coalesce page 655 * return false : don't coalesce page
656 */ 656 */
657int 657bool
658filelayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, 658filelayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev,
659 struct nfs_page *req) 659 struct nfs_page *req)
660{ 660{