From: Rusty Russell Date: Fri, 8 Feb 2008 12:20:14 +0000 (-0800) Subject: aio: partial write should not return error code X-Git-Tag: v2.6.25-rc1~163 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7adfa2ff3efa02a7a9f2632d2d2662d3e5eb5304;p=pandora-kernel.git 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 Acked-By: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed