diff options
| author | Hifumi Hisashi <[email protected]> | 2005-06-25 21:54:32 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-06-25 23:24:25 +0000 |
| commit | 1e8a81c5a37907bc082025d3468718116dca1eeb (patch) | |
| tree | 0b9dae5a22d8caeab40a5e08150bfad27411cc41 /security/selinux/hooks.c | |
| parent | [PATCH] mips: add MIPS-specific support for flatmem/discontigmem (diff) | |
| download | kernel-1e8a81c5a37907bc082025d3468718116dca1eeb.tar.gz kernel-1e8a81c5a37907bc082025d3468718116dca1eeb.zip | |
[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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
