diff options
author | Qu Fuping <fs@ercist.iscas.ac.cn> | 2005-06-05 00:43:29 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-05 02:12:59 +0200 |
commit | 854715be73b221596c7127d4042e1120d4539e19 (patch) | |
tree | db0ddc9d2b9db5de1a75df627ca4a0c28600e64a /arch/s390/kernel/ptrace.c | |
parent | Automatic merge of 'misc-fixes' branch from (diff) | |
download | linux-854715be73b221596c7127d4042e1120d4539e19.tar.xz linux-854715be73b221596c7127d4042e1120d4539e19.zip |
[PATCH] mpage_end_io_write() I/O error handling fix
When fsync() runs wait_on_page_writeback_range() it only inspects pages which
are actually under I/O (PAGECACHE_TAG_WRITEBACK). If a page completed I/O
prior to wait_on_page_writeback_range() looking at it, it is supposed to have
recorded its I/O error state in the address_space.
But mpage_mpage_end_io_write() forgot to set the address_space error flag in
this case.
Signed-off-by: Qu Fuping <fs@ercist.iscas.ac.cn>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/s390/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions