linux-stable/fs/cachefiles
Matthew Wilcox (Oracle) 9f14e20c0e cachefiles: Handle readpage error correctly
commit 9480b4e75b 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-05 11:08:54 +01:00
..
Kconfig
Makefile
bind.c fscache: Fix reference overput in fscache_attach_object() error handling 2018-07-25 14:49:00 +01:00
daemon.c
interface.c fscache: Pass object size in rather than calling back for it 2018-04-06 14:05:14 +01:00
internal.h fscache: Add tracepoints 2018-04-04 13:41:27 +01:00
key.c
main.c fscache: Add tracepoints 2018-04-04 13:41:27 +01:00
namei.c cachefiles: Explicitly cast enumerated type in put_object 2018-12-17 09:24:40 +01:00
proc.c proc: introduce proc_create_seq{,_data} 2018-05-16 07:23:35 +02:00
rdwr.c cachefiles: Handle readpage error correctly 2020-11-05 11:08:54 +01:00
security.c
xattr.c cachefiles: Fix an assertion failure when trying to update a failed object 2018-12-17 09:24:38 +01:00