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 -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/