diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-09-16 18:54:11 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 08:56:17 +0200 |
commit | 7ba1fbaa4a478f72fbaf5a56af9c82a77966b4c7 (patch) | |
tree | 275c1d86386d7db9fa75840363230098ca6bddd3 /fs/bio-integrity.c | |
parent | block: add fault injection mechanism for faking request timeouts (diff) | |
download | linux-7ba1fbaa4a478f72fbaf5a56af9c82a77966b4c7.tar.xz linux-7ba1fbaa4a478f72fbaf5a56af9c82a77966b4c7.zip |
block: use rq complete marking in blk_abort_request()
We cannot abort a request if we raced with the timeout handler already,
or with the IO completion. So make blk_abort_request() mark the request
as complete, and only continue if we succeeded.
Found and suggested by Mike Anderson <andmike@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions