pnfs/blocklayout: fix end calculation in pnfs_num_cont_bytes
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 21:47:02 +0000 (16:47 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 24 Nov 2014 22:00:41 +0000 (17:00 -0500)
Use the number of pages in the pagecache mapping instead of the
number of pnfs requests which is only slightly related.

Reported-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>

No differences found