diff options
author | Tejun Heo <tj@kernel.org> | 2009-05-08 06:54:14 +0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-05-11 11:52:17 +0400 |
commit | 2343046826a8ca426b07601d9593ee046c298b68 (patch) | |
tree | e7250f784a3168506b70d7e8b3f1bbcf9f733953 /drivers/block/xd.c | |
parent | 296b2f6ae654581adc27f0d6f0af454c7f3d06ee (diff) | |
download | linux-2343046826a8ca426b07601d9593ee046c298b68.tar.xz |
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 'drivers/block/xd.c')
0 files changed, 0 insertions, 0 deletions