Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1a26e7d authored by Peter Osterlund's avatar Peter Osterlund Committed by Linus Torvalds
Browse files

[PATCH] UDF: Fix mounting read-write



The UDF filesystem can't be mounted in read-write mode any more,
because of forgotten braces.

Signed-off-by: default avatarPeter Osterlund <petero2@telia.com>
[ Duh! ]
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4b0ff1a9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1621,9 +1621,10 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent)
		goto error_out;
	}

	if (UDF_SB_PARTFLAGS(sb, UDF_SB_PARTITION(sb)) & UDF_PART_FLAG_READ_ONLY)
	if (UDF_SB_PARTFLAGS(sb, UDF_SB_PARTITION(sb)) & UDF_PART_FLAG_READ_ONLY) {
		printk("UDF-fs: Partition marked readonly; forcing readonly mount\n");
		sb->s_flags |= MS_RDONLY;
	}

	if ( udf_find_fileset(sb, &fileset, &rootdir) )
	{