commit | c08f96aeef579baecde12b9e40deaaad26b3cfac | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Sun Mar 29 20:06:45 2020 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 24 07:59:13 2020 +0200 |
tree | f284c6c7b46daf801039f2427518b6b9a7dab8cb | |
parent | dff0fa65a0d312eb7a14ed0cfa5d981151181240 [diff] |
NFS: Fix memory leaks in nfs_pageio_stop_mirroring() [ Upstream commit 862f35c94730c9270833f3ad05bd758a29f204ed ] If we just set the mirror count to 1 without first clearing out the mirrors, we can leak queued up requests. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>