Zach Brown 353fb07e20 [PATCH] aio: avoid extra aio_{read,write} call when ki_left == 0
Recently aio_p{read,write} changed to perform retries internally rather
than returning -EIOCBRETRY.  This inadvertantly resulted in always calling
aio_{read,write} with ki_left at 0 which would in turn immediately return
0.  Harmless, but we can avoid this call by checking in the caller.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Benjamin LaHaise <bcrl@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-30 12:41:17 -07:00
..
2005-09-30 08:42:23 -07:00
2005-09-21 10:12:18 -07:00
2005-09-22 22:17:33 -07:00
2005-09-09 10:31:58 -07:00
2005-09-10 10:06:21 -07:00
2005-09-14 21:40:00 -07:00
2005-09-09 13:57:55 -07:00
2005-09-17 11:50:02 -07:00
2005-09-10 10:06:22 -07:00
2005-09-09 13:57:55 -07:00