diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-20 18:12:46 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-21 13:31:44 (GMT) |
commit | 6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc (patch) | |
tree | 14c33fa0d8dfe765175c3972d1fd746ef766c150 /fs/nfs/blocklayout | |
parent | ffa94db6042e6fd014ae0bed8832ac707ef2afe9 (diff) | |
download | linux-6f00866ddd15724eb20eac4ddf6e2c6c1a6cfcdc.tar.xz |
NFS: Fix more NFS debug related build warnings
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/blocklayout')
-rw-r--r-- | fs/nfs/blocklayout/blocklayout.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfs/blocklayout/blocklayout.c b/fs/nfs/blocklayout/blocklayout.c index 6150134..9c94297 100644 --- a/fs/nfs/blocklayout/blocklayout.c +++ b/fs/nfs/blocklayout/blocklayout.c @@ -233,12 +233,11 @@ bl_read_pagelist(struct nfs_read_data *rdata) sector_t isect, extent_length = 0; struct parallel_io *par; loff_t f_offset = rdata->args.offset; - size_t count = rdata->args.count; struct page **pages = rdata->args.pages; int pg_index = rdata->args.pgbase >> PAGE_CACHE_SHIFT; - dprintk("%s enter nr_pages %u offset %lld count %Zd\n", __func__, - rdata->npages, f_offset, count); + dprintk("%s enter nr_pages %u offset %lld count %u\n", __func__, + rdata->npages, f_offset, (unsigned int)rdata->args.count); par = alloc_parallel(rdata); if (!par) |