]> git.baikalelectronics.ru Git - 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)
commit0a1b0f46b8f684cb2a561694541569ecbbc3f6c6
tree37141a6a1d39ba21135561eeeae2fa2cad90bb8b
parentcec4390670be7566742dc681e2a5e7923261a8e2
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