Al Viro f6d335c08d AFS: Don't put struct file on the stack
Don't put struct file on the stack as it takes up quite a lot of space
and violates lifetime rules for struct file.

Rather than calling afs_readpage() indirectly from the directory routines by
way of read_mapping_page(), split afs_readpage() to have afs_page_filler()
that's given a key instead of a file and call read_cache_page(), specifying the
new function directly.  Use it in afs_readpages() as well.

Also make use of this in afs_mntpt_check_symlink() too for the same reason.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
2010-05-21 18:31:28 -04:00
..
2008-04-29 08:06:26 -07:00
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:43 -07:00
2009-04-03 16:42:41 +01:00
2010-05-21 18:31:28 -04:00
2010-05-21 18:31:28 -04:00
2009-09-22 07:17:25 -07:00
2009-04-03 16:42:41 +01:00
2009-04-03 16:42:41 +01:00
2009-04-03 16:42:41 +01:00
2009-04-09 10:41:19 -07:00
2009-09-23 07:39:29 -07:00
2010-03-22 09:57:19 -07:00
2008-10-31 00:56:28 -07:00
2010-04-22 11:58:18 +02:00