NFS: Clean up nfs_lock_and_join_requests()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 30 Mar 2020 15:12:16 +0000 (11:12 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 1 Apr 2020 17:37:56 +0000 (13:37 -0400)
commita62f8e3bd836bf1abde1648a45e14afd050dbd23
tree2c93e5b4f2768ac87a4fac37e453997096177d4f
parent377840ee48cde0700678ef14141106bbd13e00b5
NFS: Clean up nfs_lock_and_join_requests()

Clean up nfs_lock_and_join_requests() to simplify the calculation
of the range covered by the page group, taking into account the
presence of mirrors.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pagelist.c
fs/nfs/write.c
include/linux/nfs_page.h