From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de Subject: [RFC 1/7] cramfs: allow remount rw Date: Sat, 31 May 2008 17:20:14 +0200 Message-ID: <20080531153510.563968336@arndb.de> References: <20080531152013.031903990@arndb.de> Cc: linux-kernel@vger.kernel.org, hch@lst.de To: linux-fsdevel@vger.kernel.org Return-path: Received: from moutng.kundenserver.de ([212.227.126.186]:58067 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752886AbYEaPiJ (ORCPT ); Sat, 31 May 2008 11:38:09 -0400 Content-Disposition: inline; filename=0001-cramfs-allow-remount-rw.patch Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 --- 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 --