commit | 6d06b0d25209c80e99c1e89700f1e09694a3766b | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu Mar 16 16:27:48 2017 +0000 |
committer | David Howells <dhowells@redhat.com> | Thu Mar 16 16:27:48 2017 +0000 |
tree | 1f9e637368a069518eaba7a918803e73c14c94d4 | |
parent | 68ae849d7e674b83610bc7fdf74b21621a09b9ac [diff] |
afs: Fix page leak in afs_write_begin() 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>