diff options
author | Shaohua Li <shli@fusionio.com> | 2013-10-29 12:01:03 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-10-29 12:01:03 -0600 |
commit | 92f399c72af2d8cbb9d4f60e11d0d67ca738147f (patch) | |
tree | 808309a8706de6bda501441b78127f6b1233ce0a /block/blk-mq.c | |
parent | 3228f48be2d19b2dd90db96ec16a40187a2946f3 (diff) | |
download | linux-stable-92f399c72af2d8cbb9d4f60e11d0d67ca738147f.tar.gz linux-stable-92f399c72af2d8cbb9d4f60e11d0d67ca738147f.tar.bz2 linux-stable-92f399c72af2d8cbb9d4f60e11d0d67ca738147f.zip |
blk-mq: mq plug list breakage
We switched to plug mq_list for mq, but some code are still using old list.
Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 2dc8de86d0d2..88d4e864d4c0 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -950,7 +950,7 @@ static void blk_mq_make_request(struct request_queue *q, struct bio *bio) if (plug) { blk_mq_bio_to_request(rq, bio); - if (list_empty(&plug->list)) + if (list_empty(&plug->mq_list)) trace_block_plug(q); else if (request_count >= BLK_MAX_REQUEST_COUNT) { blk_flush_plug_list(plug, false); |