fs: cachefiles: add support for large files in filesystem caching
authorJustin Lecher <jlec@gentoo.org>
Mon, 30 Jul 2012 21:42:53 +0000 (14:42 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Mar 2013 03:24:29 +0000 (03:24 +0000)
commit55a058d4a89c4ef33294f9758559f0704d347738
treec11b177ad4ddf9c47a9fd2ac2478244284ea96c3
parent511d07bc0a060049009954eeb8b34eda016c9c0e
fs: cachefiles: add support for large files in filesystem caching

commit 98c350cda2c14a343d34ea01a3d9c24fea5ec66d upstream.

Support the caching of large files.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=31182

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.com>
Tested-by: Suresh Jayaraman <sjayaraman@suse.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[bwh: Backported to 3.2:
 - Adjust context
 - dentry_open() takes dentry and vfsmount pointers, not a path pointer]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/cachefiles/rdwr.c