summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smbdirect.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2019-01-29 16:40:28 -0800
committerSteve French <stfrench@microsoft.com>2019-03-04 20:05:34 -0600
commit165df9a080b6863ae286fa01780c13d87cd81076 (patch)
treee8e6ac557b3f08c4e8f49cd82788bdbbf6a1d2ae /fs/cifs/smbdirect.c
parent1c163f4c7b3f621efff9b28a47abb36f7378d783 (diff)
downloadlinux-165df9a080b6863ae286fa01780c13d87cd81076.tar.bz2
CIFS: Fix leaking locked VFS cache pages in writeback retry
If we don't find a writable file handle when retrying writepages we break of the loop and do not unlock and put pages neither from wdata2 nor from the original wdata. Fix this by walking through all the remaining pages and cleanup them properly. Cc: <stable@vger.kernel.org> Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smbdirect.c')
0 files changed, 0 insertions, 0 deletions