summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorHifumi Hisashi <hifumi.hisashi@lab.ntt.co.jp>2005-06-25 14:54:32 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 16:24:25 -0700
commit1e8a81c5a37907bc082025d3468718116dca1eeb (patch)
tree0b9dae5a22d8caeab40a5e08150bfad27411cc41 /mm/memory.c
parentb4819b593740a6d11db07b52e0fe35975b29a185 (diff)
downloadop-kernel-dev-1e8a81c5a37907bc082025d3468718116dca1eeb.zip
op-kernel-dev-1e8a81c5a37907bc082025d3468718116dca1eeb.tar.gz
[PATCH] Fix the error handling in direct I/O
Fix a bug on error handling in the direct I/O function. Currently, if a file is opened with the O_DIRECT|O_SYNC flag, the write() syscall cannot receive the EIO error after an I/O error (SCSI cable is disconnected etc.). Return values of other points that call generic_osync_inode() are treated appropriately. Signed-off-by: Hisashi Hifumi <hifumi.hisashi@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud