Eric Sandeen
7e84b62164
ext4: force ro mount if ext4_setup_super() fails
...
If ext4_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:
# mkfs.ext4 -r 4 /dev/sdb6
# mount /dev/sdb6 /mnt/test
# dmesg | grep "too high"
[164919.759248] EXT4-fs (sdb6): revision level too high, forcing read-only mode
# grep sdb6 /proc/mounts
/dev/sdb6 /mnt/test2 ext4 rw,seclabel,relatime,data=ordered 0 0
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org
2012-05-28 14:17:25 -04:00
..
2012-03-28 09:58:38 -07:00
2012-03-21 13:36:41 -07:00
2012-04-29 13:30:08 -07:00
2012-04-28 09:30:07 -07:00
2012-03-28 10:01:29 -07:00
2012-04-24 11:36:25 -05:00
2012-03-28 18:30:03 +01:00
2012-03-21 13:36:41 -07:00
2012-04-05 15:25:50 -07:00
2012-03-21 13:36:41 -07:00
2012-04-23 18:22:42 -07:00
2012-03-28 20:04:27 -07:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00
2012-05-28 14:17:25 -04:00
2012-03-23 16:58:40 -07:00
2012-04-18 17:29:05 -07:00
2012-04-24 13:26:50 +01:00
2012-03-27 18:29:53 -07:00
2012-04-25 21:26:34 -07:00
2012-03-21 10:15:51 -07:00
2012-05-27 08:12:12 -04:00
2012-03-30 17:31:56 -07:00
2012-04-13 13:50:52 -04:00
2012-03-21 13:36:41 -07:00
2012-03-21 13:36:41 -07:00
2012-03-28 18:30:03 +01:00
2012-04-21 13:01:00 -04:00
2012-04-19 14:54:52 -07:00
2012-03-21 13:36:41 -07:00
2012-03-23 16:58:31 -07:00
2012-03-21 13:36:41 -07:00
2012-04-13 12:31:43 -04:00
2012-04-25 21:26:34 -07:00
2012-04-05 15:30:34 -07:00
2012-03-28 10:00:14 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 18:05:54 -07:00
2012-04-10 14:48:51 -07:00
2012-03-23 09:27:40 -07:00
2012-03-28 10:00:14 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 15:58:21 -07:00
2012-04-21 01:58:20 -04:00
2012-04-20 17:29:13 -07:00
2012-04-20 17:29:13 -07:00
2012-04-20 17:29:13 -07:00
2012-04-20 17:29:13 -07:00
2012-03-23 16:58:31 -07:00
2012-04-20 17:29:13 -07:00
2012-03-23 16:58:31 -07:00
2012-04-25 21:26:33 -07:00
2012-03-24 10:24:31 -07:00
2012-03-29 18:12:23 -07:00
2012-03-28 09:54:34 -07:00
2012-04-25 21:26:33 -07:00
2012-04-04 10:04:42 -07:00
2012-03-29 18:12:23 -07:00
2012-03-24 10:24:31 -07:00
2012-03-28 10:07:27 -07:00
2012-03-21 13:36:41 -07:00
2012-04-09 01:39:22 -04:00
2012-04-01 13:54:27 -05:00
2012-04-06 13:54:56 -07:00
2012-04-29 13:12:42 -07:00
2012-03-29 18:12:23 -07:00
2012-03-24 10:24:31 -07:00
2012-04-05 19:04:27 -04:00
2012-03-24 10:24:31 -07:00
2012-03-24 10:24:31 -07:00
2012-04-05 15:25:50 -07:00