diff options
| author | Benjamin LaHaise <bcrl@toomuch.toronto.redhat.com> | 2002-10-02 09:06:28 -0400 |
|---|---|---|
| committer | Benjamin LaHaise <bcrl@toomuch.toronto.redhat.com> | 2002-10-02 09:06:28 -0400 |
| commit | 7b6f3552de2dc26e79f967188c2b98e1fd475053 (patch) | |
| tree | c6747e81ea15e01c7adf9a2053bac0f919cb7078 | |
| parent | eca473bb88fea2ca22e1ba566894525d3c74b546 (diff) | |
queue descriptor io errors instead of returning them from io_submit
| -rw-r--r-- | fs/aio.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1075,10 +1075,8 @@ static int io_submit_one(struct kioctx *ctx, struct iocb *user_iocb, if (likely(-EIOCBQUEUED == ret)) return 0; - if (ret >= 0) { - aio_complete(req, ret, 0); - return 0; - } + aio_complete(req, ret, 0); + return 0; out_put_req: aio_put_req(req); |
