blk: move blk_delete_timer call in end_that_request_last
authorMike Anderson <andmike@linux.vnet.ibm.com>
Thu, 30 Oct 2008 09:16:20 +0000 (02:16 -0700)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 6 Nov 2008 07:41:56 +0000 (08:41 +0100)
commite78042e5b83936b1d12a4b5bbb492bdd88ad76c6
treebd65da0f0f87c844fb4a22c5c56822a5ff15165b
parent2920ebbd65f3e80c318adf5191ac0987142bda80
blk: move blk_delete_timer call in end_that_request_last

Move the calling  blk_delete_timer to later in end_that_request_last to
address an issue where blkdev_dequeue_request may have add a timer for the
request.

Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c