nfs: change find_request to find_head_request
authorWeston Andros Adamson <dros@primarydata.com>
Fri, 11 Jul 2014 14:20:47 +0000 (10:20 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 12 Jul 2014 20:51:41 +0000 (16:51 -0400)
commit84d3a9a913ba6a90c79b7763d063bb42554a8906
tree20992323555fa558b35468eb0841b0811a241ec6
parent85710a837c2026aae80b7c64187edf1f10027b0b
nfs: change find_request to find_head_request

nfs_page_find_request_locked* should find the head request for that page.
Rename the functions and add comments to make this clear, and fix a bug
that could return a subrequest when page_private isn't set on the page.

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