]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcaf4232660745eea692f1ab5e34d8658fd444ab9
treebfd050cfd9391c35563b4a31a3e8a886c802d7b8
parent9bb2ddced0b95f01a802d292b72487d2ee5c8bfc
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: 3902769618ae ("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