diff options
| author | Rusty Russell <[email protected]> | 2008-02-08 12:20:14 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-08 17:22:33 +0000 |
| commit | 7adfa2ff3efa02a7a9f2632d2d2662d3e5eb5304 (patch) | |
| tree | 8a312d527e25142c65eec3bf9360cfbaae4c2666 /lib/fault-inject.c | |
| parent | Fix container_of() usage (diff) | |
| download | kernel-7adfa2ff3efa02a7a9f2632d2d2662d3e5eb5304.tar.gz kernel-7adfa2ff3efa02a7a9f2632d2d2662d3e5eb5304.zip | |
aio: partial write should not return error code
When an AIO write gets an error after writing some data (eg. ENOSPC), it
should return the amount written already, not the error. Just like write()
is supposed to.
This was found by the libaio test suite.
Signed-off-by: Rusty Russell <[email protected]>
Acked-By: Zach Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
