Hidehiro Kawai 9f818b4ac0 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 <hidehiro.kawai.ez@hitachi.com>
Acked-by: Jan Kara <jack@suse.cz>
Acked-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-23 08:55:02 -07:00
..
2008-10-17 12:44:46 -05:00
2008-10-16 11:21:48 -07:00
2008-09-13 14:41:51 -07:00
2008-10-20 08:52:42 -07:00
2008-08-20 15:40:32 -07:00
2008-10-13 09:47:43 +11:00
2008-09-05 09:51:30 -05:00
2008-09-02 23:15:22 +01:00
2008-10-23 08:55:01 -07:00
2008-04-29 08:06:00 -07:00
2008-10-16 16:08:57 +02:00
2008-10-16 11:21:46 -07:00
2008-07-25 10:53:34 -07:00
2008-10-17 02:38:36 +11:00
2008-10-14 18:31:46 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:40 -04:00
2008-07-26 12:00:08 -07:00
2008-10-16 11:21:38 -07:00
2008-10-09 08:57:05 +02:00
2008-10-20 08:52:32 -07:00
2008-10-17 02:38:36 +11:00
2008-01-30 13:31:46 +01:00
2008-05-01 13:08:16 -04:00
2008-10-16 11:21:46 -07:00
2008-10-16 11:21:32 -07:00
2008-08-01 11:25:24 -04:00
2008-07-26 20:53:40 -04:00
2008-02-06 10:41:07 -08:00
2008-10-16 11:21:51 -07:00
2008-02-14 21:13:33 -08:00
2008-10-13 09:51:41 -07:00
2008-07-25 10:53:35 -07:00
2008-07-02 15:06:27 -06:00