nfs: handle multiple reqs in nfs_wb_page_cancel
authorWeston Andros Adamson <dros@primarydata.com>
Fri, 11 Jul 2014 14:20:49 +0000 (10:20 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 12 Jul 2014 21:35:47 +0000 (17:35 -0400)
commit3e2170451e91327bfa8a82040fea78043847533a
treec5361de58a9f15ff44b1ed58baeabc4bed04e751
parentd458138353726ea6dcbc53ae3597e489d0432c25
nfs: handle multiple reqs in nfs_wb_page_cancel

Use nfs_lock_and_join_requests to merge all subrequests into the head request -
this cancels and dereferences all subrequests.

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