diff options
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r-- | fs/udf/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index 1d3b5d2070e5..1aea6a4f9a4a 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -1621,9 +1621,10 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent) | |||
1621 | goto error_out; | 1621 | goto error_out; |
1622 | } | 1622 | } |
1623 | 1623 | ||
1624 | if (UDF_SB_PARTFLAGS(sb, UDF_SB_PARTITION(sb)) & UDF_PART_FLAG_READ_ONLY) | 1624 | if (UDF_SB_PARTFLAGS(sb, UDF_SB_PARTITION(sb)) & UDF_PART_FLAG_READ_ONLY) { |
1625 | printk("UDF-fs: Partition marked readonly; forcing readonly mount\n"); | 1625 | printk("UDF-fs: Partition marked readonly; forcing readonly mount\n"); |
1626 | sb->s_flags |= MS_RDONLY; | 1626 | sb->s_flags |= MS_RDONLY; |
1627 | } | ||
1627 | 1628 | ||
1628 | if ( udf_find_fileset(sb, &fileset, &rootdir) ) | 1629 | if ( udf_find_fileset(sb, &fileset, &rootdir) ) |
1629 | { | 1630 | { |