[PATCH] uml: return a real error code
authorJeff Dike <jdike@addtoit.com>
Sat, 17 Sep 2005 02:27:51 +0000 (19:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 17 Sep 2005 18:50:00 +0000 (11:50 -0700)
commit2867ace6751adc20bb37cfb09478510c49110b27
treeebc51aecaa864fb018aab5b46e99c18cb469d64e
parent114069f7384c15a7a9f8d3e333caf4d470dfe520
[PATCH] uml: return a real error code

do_aio used to return -1 on error instead of errno.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/os-Linux/aio.c