commit | 2343046826a8ca426b07601d9593ee046c298b68 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri May 08 11:54:14 2009 +0900 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon May 11 09:52:17 2009 +0200 |
tree | e7250f784a3168506b70d7e8b3f1bbcf9f733953 | |
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>