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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment