android_kernel_xiaomi_sm8350/fs/afs
David Howells 9886e836a6 AFS: Stop readlink() on AFS crashing due to NULL 'file' ptr
kAFS crashes when asked to read a symbolic link because page_getlink()
passes a NULL file pointer to read_mapping_page(), but afs_readpage()
expects a file pointer from which to extract a key.

Modify afs_readpage() to request the appropriate key from the calling
process's keyrings if a file struct is not supplied with one attached.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-08-27 12:22:08 -07:00
..
afs_cm.h
afs_fs.h
afs_vl.h
afs.h
cache.c
cache.h
callback.c
cell.c
cmservice.c
dir.c AFS: Fix compilation warning 2009-07-12 12:24:07 -07:00
file.c AFS: Stop readlink() on AFS crashing due to NULL 'file' ptr 2009-08-27 12:22:08 -07:00
flock.c AFS: Fix lock imbalance 2009-06-30 13:30:44 -07:00
fsclient.c
inode.c
internal.h
Kconfig
main.c
Makefile
misc.c
mntpt.c headers: mnt_namespace.h redux 2009-07-08 09:31:56 -07:00
netdevices.c
proc.c
rxrpc.c
security.c
server.c
super.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
vlclient.c
vlocation.c
vnode.c
volume.c
write.c