diff options
| author | Benny Halevy <bhalevy@panasas.com> | 2011-05-25 14:03:56 -0400 |
|---|---|---|
| committer | Boaz Harrosh <bharrosh@panasas.com> | 2011-05-29 13:56:54 -0400 |
| commit | 18ad0a9f2ccd260d37dd6bc5fa04c7819def4c84 (patch) | |
| tree | a0936cf11e81969c0f84716ab958cd4728c87f54 /include/linux | |
| parent | dfed206b8857d41a91ebba030f99e30017a44dda (diff) | |
NFSv4.1: change pg_test return type to bool
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs_page.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h index 91af2e49fa3a..3a34e80ae92f 100644 --- a/include/linux/nfs_page.h +++ b/include/linux/nfs_page.h | |||
| @@ -68,7 +68,7 @@ struct nfs_pageio_descriptor { | |||
| 68 | int pg_ioflags; | 68 | int pg_ioflags; |
| 69 | int pg_error; | 69 | int pg_error; |
| 70 | struct pnfs_layout_segment *pg_lseg; | 70 | struct pnfs_layout_segment *pg_lseg; |
| 71 | int (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *, struct nfs_page *); | 71 | bool (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *, struct nfs_page *); |
| 72 | }; | 72 | }; |
| 73 | 73 | ||
| 74 | #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags)) | 74 | #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags)) |
