From: Rusty Russell Date: Fri, 8 Feb 2008 12:20:15 +0000 (-0800) Subject: aio: negative offset should return -EINVAL X-Git-Tag: v2.6.25-rc1~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2ec66828fd253802abb912668f4bf9597e3c898;p=pandora-kernel.git aio: negative offset should return -EINVAL An AIO read or write should return -EINVAL if the offset is negative. This check matches the one in pread and pwrite. 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