Home
last modified time | relevance | path

Searched hist:"6 d06b0d2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/afs/
H A Dwrite.c6d06b0d2 Thu Mar 16 11:27:48 CDT 2017 David Howells <dhowells@redhat.com> 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>
6d06b0d2 Thu Mar 16 11:27:48 CDT 2017 David Howells <dhowells@redhat.com> 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>