diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-12 15:19:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-06 10:22:22 +0200 |
commit | 812de6dee596e10d46ce3d7dc4736fa288218117 (patch) | |
tree | 9fafdcc358ba3979d5f13a36f55401ea7dae9cdd /fs/nfs/write.c | |
parent | 57c491fd844d71a1d1e472204153aa86e2a3dd6e (diff) |
NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend()
[ Upstream commit f4340e9314dbfadc48758945f85fc3b16612d06f ]
If the attempt to resend the pages fails, we need to ensure that we
clean up those pages that were not transmitted.
Fixes: d600ad1f2bdb ("NFS41: pop some layoutget errors to application")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v4.5+
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions