NFSv4.1/pNFS: Don't request a minimal read layout beyond the end of file
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 31 Aug 2015 09:05:47 +0000 (02:05 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 31 Aug 2015 09:05:47 +0000 (02:05 -0700)
If we have a read layout, then sanity check the minimal layout length
so that it does not extend beyond the end of file.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c

diff --cc fs/nfs/pnfs.c
Simple merge