android_kernel_sony_sdm845/fs/cachefiles
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Matthew Wilcox (Oracle) 0e3c04165f cachefiles: Handle readpage error correctly
commit 9480b4e75b7108ee68ecf5bc6b4bd68e8031c521 upstream.

If ->readpage returns an error, it has already unlocked the page.

Fixes: 5e929b33c3 ("CacheFiles: Handle truncate unlocking the page we're reading")
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-10 10:24:00 +01:00
..
bind.c xattr: Add __vfs_{get,set,remove}xattr helpers 2016-10-07 20:10:44 -04:00
daemon.c CacheFiles: Provide read-and-reset release counters for cachefilesd 2016-02-01 12:30:10 -05:00
interface.c cachefiles: Fix attempt to read i_blocks after deleting file [ver #2] 2016-09-27 18:31:29 -04:00
internal.h cachefiles: Fix attempt to read i_blocks after deleting file [ver #2] 2016-09-27 18:31:29 -04:00
Kconfig
key.c CacheFiles: Downgrade the requirements passed to the allocator 2012-12-20 21:58:25 +00:00
main.c fs/cachefiles: add missing \n to kerror conversions 2014-09-26 08:10:35 -07:00
Makefile
namei.c cachefiles: fix the race between cachefiles_bury_object() and rmdir(2) 2018-11-10 07:43:00 -08:00
proc.c drop redundant ->owner initializations 2016-05-29 19:08:00 -04:00
rdwr.c cachefiles: Handle readpage error correctly 2020-11-10 10:24:00 +01:00
security.c VFS: fs/cachefiles: d_backing_inode() annotations 2015-04-15 15:06:59 -04:00
xattr.c VFS: fs/cachefiles: d_backing_inode() annotations 2015-04-15 15:06:59 -04:00