diff options
author | Ming Lei <tom.leiming@gmail.com> | 2014-01-03 18:00:08 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2014-01-03 18:00:08 +0100 |
commit | 0fec08b4ecfc36fd8a64432343b2964fb86d2675 (patch) | |
tree | 4037e52bedcd991c89f789a99d8723638aed80e6 /net/nfc | |
parent | block: blk-mq: don't export blk_mq_free_queue() (diff) | |
download | linux-0fec08b4ecfc36fd8a64432343b2964fb86d2675.tar.xz linux-0fec08b4ecfc36fd8a64432343b2964fb86d2675.zip |
blk-mq: fix initializing request's start time
blk_rq_init() is called in req's complete handler to initialize
the request, so the members of start_time and start_time_ns might
become inaccurate when it is allocated in future.
The patch initializes the two members in blk_mq_rq_ctx_init() to
fix the problem.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions