Jeff Dike da3e30e78e uml: fix aio compilation bug
Restructure do_aio thanks to commments from Ulrich and Al.

Uli started this by seeing that UML's initialization of a struct iocb
initialized fields that it shouldn't.

Al followed up by adding the following cleanups:
	eliminating a variable by just using an anonymous structure in
its place.
	hoisting a duplicated line out of the switch.
	simplifying the error checking at the end.

I added a severity to the printk.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-24 12:24:58 -07:00
..
2007-07-17 11:01:07 -07:00
2007-07-19 10:04:41 -07:00
2007-07-24 12:24:58 -07:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:13:01 -07:00
2007-05-15 18:56:37 -07:00
2007-07-19 14:37:05 -07:00
2007-06-08 17:23:33 -07:00
2007-03-01 14:53:38 -08:00
2007-07-19 18:37:54 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-29 08:46:26 -07:00
2005-04-16 15:20:36 -07:00