]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
afs: Fix missing error handling in afs_write_end()
authorDavid Howells <dhowells@redhat.com>
Tue, 2 Jan 2018 10:02:19 +0000 (10:02 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 2 Jan 2018 10:02:19 +0000 (10:02 +0000)
commitafae457d874860a7e299d334f59eede5f3ad4b47
tree37141a6a1d39ba21135561eeeae2fa2cad90bb8b
parent440fbc3a8a694467ba641234cedb96c28ab2d5fb
afs: Fix missing error handling in afs_write_end()

afs_write_end() is missing page unlock and put if afs_fill_page() fails.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/write.c