All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: ramfs lfs limit
Date: Fri, 21 May 2004 09:37:02 +0200	[thread overview]
Message-ID: <20040521073702.GM3044@dualathlon.random> (raw)

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;

             reply	other threads:[~2004-05-21  7:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-21  7:37 Andrea Arcangeli [this message]
2004-05-21  7:41 ` ramfs lfs limit Jeff Garzik
2004-05-21  8:56   ` Andrea Arcangeli
2004-05-21  8:11 ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040521073702.GM3044@dualathlon.random \
    --to=andrea@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.