aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/objlayout
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/objlayout
parentdfed206b8857d41a91ebba030f99e30017a44dda (diff)
NFSv4.1: change pg_test return type to bool
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'fs/nfs/objlayout')
-rw-r--r--fs/nfs/objlayout/objio_osd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/nfs/objlayout/objio_osd.c b/fs/nfs/objlayout/objio_osd.c
index 3be124160e97..8c2bd3eb8e8d 100644
--- a/fs/nfs/objlayout/objio_osd.c
+++ b/fs/nfs/objlayout/objio_osd.c
@@ -991,14 +991,13 @@ ssize_t objio_write_pagelist(struct objlayout_io_state *ol_state, bool stable)
991/* 991/*
992 * objlayout_pg_test(). Called by nfs_can_coalesce_requests() 992 * objlayout_pg_test(). Called by nfs_can_coalesce_requests()
993 * 993 *
994 * return 1 : coalesce page 994 * return true iff coalesce page
995 * return 0 : don't coalesce page
996 */ 995 */
997int 996bool
998objlayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, 997objlayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev,
999 struct nfs_page *req) 998 struct nfs_page *req)
1000{ 999{
1001 return 1; 1000 return true;
1002} 1001}
1003 1002
1004static struct pnfs_layoutdriver_type objlayout_type = { 1003static struct pnfs_layoutdriver_type objlayout_type = {