NFS: Refactor nfs_lock_and_join_requests()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 30 Mar 2020 16:40:47 +0000 (12:40 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 1 Apr 2020 17:37:56 +0000 (13:37 -0400)
commite00ed89d7bd59c4ae49d6aeeee567187b1357a4b
tree01d1b60917b8970e8f42be04dc6ae0788ca55b67
parent44a65a0c278336719892287a185836fddeabb933
NFS: Refactor nfs_lock_and_join_requests()

Refactor nfs_lock_and_join_requests() in order to separate out the
subrequest merging into its own function nfs_lock_and_join_group()
that can be used by O_DIRECT.

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