summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2012-08-18 22:29:40 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-13 05:50:21 +0900
commit14b4ed22a6b5fc1549504336131be4f5f6ba1bf4 (patch)
tree11d36afec15a80b1478429e8511c55d4455946c7 /scripts
parentd024fea7032bc7c333c967db530b44d59a180d14 (diff)
downloadlinux-stable-14b4ed22a6b5fc1549504336131be4f5f6ba1bf4.tar.gz
linux-stable-14b4ed22a6b5fc1549504336131be4f5f6ba1bf4.tar.bz2
linux-stable-14b4ed22a6b5fc1549504336131be4f5f6ba1bf4.zip
jbd2: don't write superblock when if its empty
commit eeecef0af5ea4efd763c9554cf2bd80fc4a0efd3 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 24bcc89c7e7c: "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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions