]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix up nfs_page_group_covers_page()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Jul 2017 20:58:07 +0000 (16:58 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:47 +0000 (11:54 -0400)
commit07cfce0e8a6d1d0f1718ea0686839bad1e72d0fb
treece4c4ac4b12941cf601d47cadb06b0ef9c7d5ce1
parentd9a662b34451b7ba756ccf014ca45792ccfad3bf
NFS: Fix up nfs_page_group_covers_page()

Fix up the test in nfs_page_group_covers_page(). The simplest implementation
is to check that we have a set of intersecting or contiguous subrequests
that connect page offset 0 to nfs_page_length(req->wb_page).

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