Skip to content
Commit f007dbf8 authored by Eric Sandeen's avatar Eric Sandeen Committed by Jan Kara
Browse files

ext3: force ro mount if ext3_setup_super() fails



If ext3_setup_super() fails i.e. due to a too-high revision,
the error is logged in dmesg but the fs is not mounted RO as
indicated.

Tested by:

[164152.114551] EXT3-fs (sdb6): error: revision level too high, forcing read-only mode
/dev/sdb6 /mnt/test2 ext3 rw,seclabel,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered 0 0
                          ^^

Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
Reviewed-by: default avatarAndreas Dilger <adilger@whamcloud.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent f3da9310
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment