Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98c350cd authored by Justin Lecher's avatar Justin Lecher Committed by Linus Torvalds
Browse files

fs: cachefiles: add support for large files in filesystem caching

parent 668f06b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {