]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77583828c0430b4d31f8cb3d0d820ab9a266c1c8
tree0e4f21105364762c86f547c50205d6159dbebf28
parent8fab125e14c5d8436d91f387197bfc51a48d0d56
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