[PATCH 8/8] aio: move sanity checks and request allocation to io_submit_one()

2019-03-09 Thread Al Viro
From: Al Viro makes for somewhat cleaner control flow in __io_submit_one() Signed-off-by: Al Viro --- fs/aio.c | 119 --- 1 file changed, 53 insertions(+), 66 deletions(-) diff --git a/fs/aio.c b/fs/aio.c index 66ca52c57cca..2d1db52b

[PATCH 8/8] aio: move sanity checks and request allocation to io_submit_one()

2019-03-06 Thread Al Viro
From: Al Viro makes for somewhat cleaner control flow in __io_submit_one() Signed-off-by: Al Viro --- fs/aio.c | 86 +++- 1 file changed, 42 insertions(+), 44 deletions(-) diff --git a/fs/aio.c b/fs/aio.c index af51b1360305..6993581b