Commit dacdeaae authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ramfs lfs limit

From: Andrea Arcangeli <andrea@suse.de>

this fixes the 2G limit on ramfs
parent 4a664175
......@@ -181,6 +181,7 @@ static int ramfs_fill_super(struct super_block * sb, void * data, int silent)
struct inode * inode;
struct dentry * root;
sb->s_maxbytes = MAX_LFS_FILESIZE;
sb->s_blocksize = PAGE_CACHE_SIZE;
sb->s_blocksize_bits = PAGE_CACHE_SHIFT;
sb->s_magic = RAMFS_MAGIC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment