NFSv4.1: change pg_test return type to bool

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
This commit is contained in:
Benny Halevy
2011-05-25 21:03:56 +03:00
committed by Boaz Harrosh
parent dfed206b88
commit 18ad0a9f2c
6 changed files with 22 additions and 23 deletions

View File

@@ -991,14 +991,13 @@ ssize_t objio_write_pagelist(struct objlayout_io_state *ol_state, bool stable)
/*
* objlayout_pg_test(). Called by nfs_can_coalesce_requests()
*
* return 1 : coalesce page
* return 0 : don't coalesce page
* return true iff coalesce page
*/
int
bool
objlayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev,
struct nfs_page *req)
{
return 1;
return true;
}
static struct pnfs_layoutdriver_type objlayout_type = {