aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorRusty Russell <[email protected]>2008-02-08 12:20:14 +0000
committerLinus Torvalds <[email protected]>2008-02-08 17:22:33 +0000
commit7adfa2ff3efa02a7a9f2632d2d2662d3e5eb5304 (patch)
tree8a312d527e25142c65eec3bf9360cfbaae4c2666 /lib/fault-inject.c
parentFix container_of() usage (diff)
downloadkernel-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