aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/objlayout
diff options
context:
space:
mode:
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 = {