diff options
author | Hidehiro Kawai <[email protected]> | 2008-10-22 14:15:02 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-10-23 08:55:02 -0700 |
commit | 9f818b4ac04f53458d0354950b4f229f54be4dbf (patch) | |
tree | 2f70be32757ea6b494e4272b7779950b282ed03c /net/lapb/lapb_timer.c | |
parent | 2d7c820e56ce83b23daee9eb5343730fb309418e (diff) |
jbd: test BH_Write_EIO to detect errors on metadata buffers
__try_to_free_cp_buf(), __process_buffer(), and __wait_cp_io() test
BH_Uptodate flag to detect write I/O errors on metadata buffers. But by
commit 95450f5a7e53d5752ce1a0d0b8282e10fe745ae0 "ext3: don't read inode
block if the buffer has a write error"(*), BH_Uptodate flag can be set to
inode buffers with BH_Write_EIO in order to avoid reading old inode data.
So now, we have to test BH_Write_EIO flag of checkpointing inode buffers
instead of BH_Uptodate. This patch does it.
Signed-off-by: Hidehiro Kawai <[email protected]>
Acked-by: Jan Kara <[email protected]>
Acked-by: Eric Sandeen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions