linux/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
..
Kconfig FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
Makefile FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
afs.h AFS: implement file locking 2007-07-16 09:05:43 -07:00
afs_cm.h afs: support the CB.ProbeUuid RPC op 2008-04-29 08:06:26 -07:00
afs_fs.h AFS: implement file locking 2007-07-16 09:05:43 -07:00
afs_vl.h [AF_RXRPC]: Make the in-kernel AFS filesystem use AF_RXRPC. 2007-04-26 15:55:03 -07:00
cache.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
cache.h FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
callback.c Fix various old email addresses for dwmw2 2008-06-06 11:29:10 -07:00
cell.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
cmservice.c afs: support the CB.ProbeUuid RPC op 2008-04-29 08:06:26 -07:00
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 AFS: implement file locking 2007-07-16 09:05:43 -07:00
inode.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
internal.h FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
main.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
misc.c AFS: Correctly translate auth error aborts and don't failover in such cases 2009-06-16 21:20:14 -07:00
mntpt.c headers: mnt_namespace.h redux 2009-07-08 09:31:56 -07:00
netdevices.c afs: BUG to BUG_ON changes 2009-04-09 10:41:19 -07:00
proc.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
rxrpc.c fs/afs/: possible cleanups 2007-10-17 08:42:50 -07:00
security.c [PATCH] sanitize ->permission() prototype 2008-07-26 20:53:14 -04:00
server.c fs: replace NIPQUAD() 2008-10-31 00:56:28 -07:00
super.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
vlclient.c [AFS]: Add security support. 2007-04-26 15:57:07 -07:00
vlocation.c AFS: Correctly translate auth error aborts and don't failover in such cases 2009-06-16 21:20:14 -07:00
vnode.c AFS: drop explicit extern 2007-07-16 09:05:43 -07:00
volume.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
write.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00