public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ramfs lfs limit
@ 2004-05-21  7:37 Andrea Arcangeli
  2004-05-21  7:41 ` Jeff Garzik
  2004-05-21  8:11 ` Ingo Molnar
  0 siblings, 2 replies; 4+ messages in thread
From: Andrea Arcangeli @ 2004-05-21  7:37 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Hi Andrew,

this fixes the 2G limit on ramfs

--- sles/fs/ramfs/inode.c.~1~	2003-10-31 05:54:29.000000000 +0100
+++ sles/fs/ramfs/inode.c	2004-05-21 07:55:07.394369104 +0200
@@ -181,6 +181,7 @@ static int ramfs_fill_super(struct super
 	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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-21  8:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-21  7:37 ramfs lfs limit Andrea Arcangeli
2004-05-21  7:41 ` Jeff Garzik
2004-05-21  8:56   ` Andrea Arcangeli
2004-05-21  8:11 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox