diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2010-10-04 21:35:05 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-10-28 01:30:02 +0200 |
commit | dff6825e9fde93891e60751e01480337a991235e (patch) | |
tree | 3b243584ee48752096b110c04ecd803e285325ae /lib/btree.c | |
parent | jbd: Use offset_in_page() instead of manual calculation (diff) | |
download | linux-dff6825e9fde93891e60751e01480337a991235e.tar.xz linux-dff6825e9fde93891e60751e01480337a991235e.zip |
ext3/jbd: Avoid WARN() messages when failing to write the superblock
This fixes a WARN backtrace in mark_buffer_dirty() that occurs during unmount
when the underlying block device is removed. This bug has been seen on System
Z when removing all paths from a multipath-backed ext3 mount; on System P when
injecting enough PCI EEH errors to make the SCSI controller go offline; and
similar warnings have been seen (and patched) with ext2/ext4.
The super block update from a previous operation has marked the buffer as in
error, and the flag has to be cleared before doing the update. Similar changes
have been made to ext4 by commit 914258bf2cb22bf4336a1b1d90c551b4b11ca5aa.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'lib/btree.c')
0 files changed, 0 insertions, 0 deletions