diff options
| author | David Howells <dhowells@redhat.com> | 2017-03-16 16:27:48 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-20 10:04:56 +0100 |
| commit | 80f74cef482f3ea77f918eeb739e588aeaeb20f9 (patch) | |
| tree | 03aa86ceafb7841a1ad79e494b21037822b06b19 /include | |
| parent | c58d7796ab9329241d54c143658132980ad536a5 (diff) | |
afs: Fix page leak in afs_write_begin()
[ Upstream commit 6d06b0d25209c80e99c1e89700f1e09694a3766b ]
afs_write_begin() leaks a ref and a lock on a page if afs_fill_page()
fails. Fix the leak by unlocking and releasing the page in the error path.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
