From: Hifumi Hisashi Date: Sat, 25 Jun 2005 21:54:32 +0000 (-0700) Subject: [PATCH] Fix the error handling in direct I/O X-Git-Tag: v2.6.13-rc1~68^2~227 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e8a81c5a37907bc082025d3468718116dca1eeb;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed