commit | 2faf9ec84cc329304bd0dcbf928184e11e550108 | [log] [tgz] |
---|---|---|
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | Fri Jun 11 09:21:33 2010 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Fri Jun 11 09:21:33 2010 +0200 |
tree | 1428c91ae9e859e792f8824a2e394e8836b10eaf | |
parent | aa58d2520204f5ae12291fae0289a90fb03dc587 [diff] |
fix a weird check of the return value of aio_cancel. i don't know what this 1 means in the first place but at least it isn't portable. instead, check if the i/o has already completed. (AIO_ALLDONE) Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>