projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
668f06b
)
fs: cachefiles: add support for large files in filesystem caching
author
Justin Lecher
<
[email protected]
>
Mon, 30 Jul 2012 21:42:53 +0000
(14:42 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 31 Jul 2012 00:25:21 +0000
(17:25 -0700)
Support the caching of large files.
Addresses https://bugzilla.kernel.org/show_bug.cgi?id=31182
Signed-off-by: Justin Lecher <
[email protected]
>
Signed-off-by: Suresh Jayaraman <
[email protected]
>
Tested-by: Suresh Jayaraman <
[email protected]
>
Acked-by: David Howells <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/cachefiles/rdwr.c
patch
|
blob
|
history
diff --git
a/fs/cachefiles/rdwr.c
b/fs/cachefiles/rdwr.c
index c0353dfac51f819d3e8cb69644fd50a98fa04224..c994691d94454254cfcb75e796b6fcaaeab8e2b1 100644
(file)
--- a/
fs/cachefiles/rdwr.c
+++ b/
fs/cachefiles/rdwr.c
@@
-919,7
+919,7
@@
int cachefiles_write_page(struct fscache_storage *op, struct page *page)
* own time */
path.mnt = cache->mnt;
path.dentry = object->backer;
- file = dentry_open(&path, O_RDWR, cache->cache_cred);
+ file = dentry_open(&path, O_RDWR
| O_LARGEFILE
, cache->cache_cred);
if (IS_ERR(file)) {
ret = PTR_ERR(file);
} else {