diff options
author | Tejun Heo <tj@kernel.org> | 2009-05-08 11:54:14 +0900 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-05-11 09:52:17 +0200 |
commit | 2343046826a8ca426b07601d9593ee046c298b68 (patch) | |
tree | e7250f784a3168506b70d7e8b3f1bbcf9f733953 /block/blk-barrier.c | |
parent | 296b2f6ae654581adc27f0d6f0af454c7f3d06ee (diff) |
gdrom: dequeue in-flight request
gdrom already dequeues and fully completes requests on normal path and
the error paths can be easily converted to do so too. Clean it up and
dequeue requests on error paths too.
While at it remove superflous blk_fs_request() && !blk_rq_sectors()
condition check.
[ Impact: dequeue in-flight request, cleanup ]
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-barrier.c')
0 files changed, 0 insertions, 0 deletions