aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-04-23 11:05:18 +0900
committerJens Axboe <jens.axboe@oracle.com>2009-04-28 07:37:35 +0200
commitb243ddcbe9be146172baa544dadecebf156eda0e (patch)
tree20ae5d9460498ae6c53e9e82f1b9d9ed6daffbb3 /drivers/cdrom
parent2e60e02297cf54e367567f2d85b2ca56b1c4a906 (diff)
downloadkernel_samsung_smdk4412-b243ddcbe9be146172baa544dadecebf156eda0e.zip
kernel_samsung_smdk4412-b243ddcbe9be146172baa544dadecebf156eda0e.tar.gz
kernel_samsung_smdk4412-b243ddcbe9be146172baa544dadecebf156eda0e.tar.bz2
block: move rq->start_time initialization to blk_rq_init()
rq->start_time was initialized in init_request_from_bio() so special requests didn't have start_time set. This has been okay as start_time has been used only for fs requests; however, there is no indication of this actually is the case or not. Set rq->start_time in blk_rq_init() and guarantee that all initialized rq's have its start_time set. This improves consistency at virtually no cost and future changes will make use of the timestamp for !bio requests. [ Impact: rq->start_time is valid for all requests ] Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions