]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] undo do_readv_writev() behavior change
authorDave Hansen <haveblue@us.ibm.com>
Sat, 16 Apr 2005 22:25:49 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:25:49 +0000 (15:25 -0700)
commit234757a4d9f168046361980197af456771b4b1d6
treec17562f07f2eb28255b17c85480e7dc7f2abbcbc
parent7d13cdd3519326266deee814f5c4e34d0ef5875d
[PATCH] undo do_readv_writev() behavior change

Bugme bug 4326: http://bugme.osdl.org/show_bug.cgi?id=4326 reports:

executing the systemcall readv with Bad argument
->len == -1) it gives out error EFAULT instead of EINVAL

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/read_write.c