]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit216b8c2d9ba4f9a4cdfad1d5df0e028a3f57d109
treeb44a19cb5bbf9f899d28f086ebb7c2604a017a2b
parentdff44e0c7f6df769a734d37b337f4d9abe5044ab
pnfs/blocklayout: fix end calculation in pnfs_num_cont_bytes

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>
fs/nfs/blocklayout/blocklayout.c