NFS: Fix an I/O request leakage in nfs_do_recoalesce
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 15 Feb 2019 19:59:52 +0000 (14:59 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Feb 2019 20:14:20 +0000 (15:14 -0500)
commit4d91969ed4dbcefd0e78f77494f0cb8fada9048a
treebfd050cfd9391c35563b4a31a3e8a886c802d7b8
parentf57dcf4c72113c745d83f1c65f7291299f65c14f
NFS: Fix an I/O request leakage in nfs_do_recoalesce

Whether we need to exit early, or just reprocess the list, we
must not lost track of the request which failed to get recoalesced.

Fixes: 03d5eb65b538 ("NFS: Fix a memory leak in nfs_do_recoalesce")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v4.0+
fs/nfs/pagelist.c