NFSv4: Convert nfs_lock_and_join_requests() to use nfs_page_find_head_request()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Aug 2017 16:06:30 +0000 (12:06 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:47 +0000 (11:54 -0400)
commitbd37d6fce184836bd5e7cd90ce40116a4fadaf2a
treee78e447ff93a80dcf5d8b5311d1a57bb6d16a611
parent7e8a30f8b497315a6467d86c82f6cc8acaa9db61
NFSv4: Convert nfs_lock_and_join_requests() to use nfs_page_find_head_request()

Hide the locking from nfs_lock_and_join_requests() so that we can
separate out the requirements for swapcache pages.

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