Eric Sandeen
0699c6dd66
jbd2: don't write superblock when if its empty
...
commit eeecef0af5 upstream.
This sequence:
# truncate --size=1g fsfile
# mkfs.ext4 -F fsfile
# mount -o loop,ro fsfile /mnt
# umount /mnt
# dmesg | tail
results in an IO error when unmounting the RO filesystem:
[ 318.020828] Buffer I/O error on device loop1, logical block 196608
[ 318.027024] lost page write due to I/O error on loop1
[ 318.032088] JBD2: Error -5 detected when updating journal superblock for loop1-8.
This was a regression introduced by commit 24bcc89c7e : "jbd2: split
updating of journal superblock and marking journal empty".
Signed-off-by: Eric Sandeen <sandeen@redhat.com >
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-10-13 05:38:39 +09:00
..
2012-03-28 09:58:38 -07:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-03-21 13:36:41 -07:00
2012-04-29 13:30:08 -07:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-08-09 08:31:37 -07:00
2012-03-20 21:29:41 -04:00
2012-03-28 10:01:29 -07:00
2012-10-02 10:30:06 -07:00
2012-03-28 18:30:03 +01:00
2012-03-20 21:29:48 -04: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-10-02 10:29:51 -07:00
2012-03-20 21:29:35 -04:00
2012-08-15 08:10:09 -07:00
2012-03-31 16:03:16 -04:00
2012-09-14 10:00:32 -07:00
2012-08-26 15:00:42 -07:00
2012-03-23 16:58:40 -07:00
2012-03-20 21:29:35 -04:00
2012-09-14 10:00:32 -07:00
2012-04-24 13:26:50 +01:00
2012-03-20 21:29:35 -04:00
2012-06-22 11:36:57 -07:00
2012-03-27 18:29:53 -07:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-04-25 21:26:34 -07:00
2012-03-20 21:29:35 -04:00
2012-03-21 10:15:51 -07:00
2012-10-13 05:38:39 +09:00
2012-05-07 20:30:14 +01:00
2012-03-20 21:29:48 -04:00
2012-10-02 10:30:48 -07: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-10-02 10:30:19 -07:00
2012-10-02 10:30:38 -07:00
2012-08-15 08:10:05 -07:00
2012-03-23 16:58:31 -07:00
2012-03-21 13:36:41 -07:00
2012-07-16 09:04:45 -07:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-10-02 10:29:54 -07:00
2012-04-05 15:30:34 -07:00
2012-03-20 21:29:52 -04:00
2012-03-20 21:29:38 -04:00
2012-03-28 10:00:14 -07:00
2012-07-16 09:04:45 -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-20 21:29:35 -04:00
2012-09-14 10:00:17 -07:00
2012-09-14 10:00:32 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 15:58:21 -07:00
2012-06-01 15:18:14 +08:00
2012-03-20 21:29:45 -04:00
2012-06-10 00:36:12 +09:00
2012-02-28 19:31:58 -05:00
2012-04-20 17:29:13 -07:00
2012-04-20 17:29:13 -07:00
2012-10-07 08:32:27 -07:00
2012-03-20 21:29:46 -04:00
2012-04-20 17:29:13 -07:00
2012-03-23 16:58:31 -07:00
2012-03-20 21:29:46 -04:00
2012-04-20 17:29:13 -07:00
2012-03-20 21:48:21 +08:00
2012-05-11 16:45:12 +02:00
2012-05-11 16:42:14 +02:00
2012-09-14 10:00:20 -07:00
2012-03-24 10:24:31 -07:00
2012-09-14 10:00:05 -07:00
2012-10-07 08:32:22 -07:00
2012-02-28 19:31:58 -05:00
2012-02-23 15:56:21 -08:00
2012-02-28 19:31:58 -05:00
2012-04-25 21:26:33 -07:00
2012-08-09 08:31:39 -07:00
2012-02-19 10:30:52 -08:00
2012-07-19 08:58:56 -07:00
2012-03-20 21:29:32 -04: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-20 21:29:51 -04:00
2012-02-28 19:31:58 -05:00
2012-02-07 07:51:30 +01:00
2012-03-21 13:36:41 -07:00
2012-04-09 01:39:22 -04:00
2012-08-09 08:31:29 -07:00
2012-03-20 21:29:38 -04:00
2012-02-28 19:31:58 -05:00
2012-05-03 14:01:40 -07:00
2012-06-10 00:36:12 +09:00
2012-09-14 10:00:05 -07:00
2012-04-29 13:12:42 -07:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-08-09 08:31:39 -07:00
2012-03-24 10:24:31 -07:00
2012-02-24 11:42:50 -08:00
2012-07-16 09:04:42 -07:00
2012-02-28 19:31:58 -05:00
2012-10-02 10:29:51 -07:00
2012-02-28 19:31:58 -05:00
2012-03-24 10:24:31 -07:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-04-05 15:25:50 -07:00