[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)
commit1f08ad02379530e1c970d3d104343b9907b4d1b4
tree607f1e99cefab35bccb14b5c053c0d63ff74458c
parent22a685d09bb98810670ac0fb02c2138bdbf038cc
[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