[RFC 1/7] cramfs: allow remount rw

Previous thread: [RFC 2/7] cramfs: create unique inode numbers by arnd on Saturday, May 31, 2008 - 11:20 am. (4 messages)

Next thread: [RFC 0/7] [RFC] cramfs: fake write support by arnd on Saturday, May 31, 2008 - 11:37 am. (32 messages)
To: <linux-fsdevel@...>
Cc: <linux-kernel@...>, <hch@...>
Date: Saturday, May 31, 2008 - 11:20 am

It is not possible to write to the current cramfs, so the
check for the rw mount flag is unnecessary. This patch is
required to make fake the fake write patches work on cramfs.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
fs/cramfs/inode.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c
index 0c3b618..08f08f9 100644
--- a/fs/cramfs/inode.c
+++ b/fs/cramfs/inode.c
@@ -226,7 +226,6 @@ static void cramfs_put_super(struct super_block *sb)

static int cramfs_remount(struct super_block *sb, int *flags, char *data)
{
- *flags |= MS_RDONLY;
return 0;
}

--
1.5.4.3

--

--

Previous thread: [RFC 2/7] cramfs: create unique inode numbers by arnd on Saturday, May 31, 2008 - 11:20 am. (4 messages)

Next thread: [RFC 0/7] [RFC] cramfs: fake write support by arnd on Saturday, May 31, 2008 - 11:37 am. (32 messages)