android_kernel_oneplus_msm8998/fs/9p
Christoph Hellwig d388892066 9p: pass the correct prototype to read_cache_page
[ Upstream commit f053cbd4366051d7eb6ba1b8d529d20f719c2963 ]

Fix the callback 9p passes to read_cache_page to actually have the
proper type expected.  Casting around function pointers can easily
hide typing bugs, and defeats control flow protection.

Link: http://lkml.kernel.org/r/20190520055731.24538-5-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: Sami Tolvanen <samitolvanen@google.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-04 09:34:59 +02:00
..
acl.c 9p: acl: fix uninitialized iattr access 2019-07-10 09:56:35 +02:00
acl.h
cache.c fs/9p: use fscache mutex rather than spinlock 2019-03-23 08:44:31 +01:00
cache.h fs: 9p: cache.h: Add #define of include guard 2015-11-11 02:19:50 -05:00
fid.c 9p: switch to %p[dD] 2014-10-09 02:39:04 -04:00
fid.h
Kconfig
Makefile 9p: xattr simplifications 2015-11-13 20:34:33 -05:00
v9fs.c 9p locks: add mount option for lock retry interval 2019-04-27 09:33:58 +02:00
v9fs.h 9p locks: add mount option for lock retry interval 2019-04-27 09:33:58 +02:00
v9fs_vfs.h 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 08:44:32 +01:00
vfs_addr.c 9p: pass the correct prototype to read_cache_page 2019-08-04 09:34:59 +02:00
vfs_dentry.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
vfs_dir.c 9p: do not trust pdu content for stat item size 2019-04-27 09:33:58 +02:00
vfs_file.c 9p locks: add mount option for lock retry interval 2019-04-27 09:33:58 +02:00
vfs_inode.c 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 08:44:32 +01:00
vfs_inode_dotl.c 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 08:44:32 +01:00
vfs_super.c 9p: use inode->i_lock to protect i_size_write() under 32-bit 2019-03-23 08:44:32 +01:00
xattr.c fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed 2018-09-09 20:04:33 +02:00
xattr.h 9p: xattr simplifications 2015-11-13 20:34:33 -05:00