pNFS: consolidate the different range intersection tests
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 25 Oct 2016 16:24:25 +0000 (12:24 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:21:41 +0000 (17:21 -0500)
commit17822b207f3b66c3aa09d749d583ae63b3637f01
tree0e4f21105364762c86f547c50205d6159dbebf28
parentee284e35d8c71bf5d4d807eaff6f67a17134b359
pNFS: consolidate the different range intersection tests

Both pnfs.c and the flexfiles code have their own versions of the
range intersection testing, and the "end_offset" helper.

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