diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-12 15:19:54 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-19 08:56:04 -0400 |
commit | f4340e9314dbfadc48758945f85fc3b16612d06f (patch) | |
tree | 259b0c479e729a7f7a0d62be2eb04720fed4ec36 /fs/nfs/direct.c | |
parent | 9821421a291b548ef4369c6998745baa36ddecd5 (diff) | |
download | lwn-f4340e9314dbfadc48758945f85fc3b16612d06f.tar.gz lwn-f4340e9314dbfadc48758945f85fc3b16612d06f.zip |
NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend()
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+
Diffstat (limited to 'fs/nfs/direct.c')
0 files changed, 0 insertions, 0 deletions