Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6d06b0d2 authored by David Howells's avatar David Howells
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent 68ae849d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment