diff options
Diffstat (limited to 'fs/nfs/objlayout')
-rw-r--r-- | fs/nfs/objlayout/objio_osd.c | 7 |
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 | */ |
997 | int | 996 | bool |
998 | objlayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, | 997 | objlayout_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 | ||
1004 | static struct pnfs_layoutdriver_type objlayout_type = { | 1003 | static struct pnfs_layoutdriver_type objlayout_type = { |