diff options
author | Omar Sandoval <osandov@fb.com> | 2017-04-05 21:01:36 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-07 20:45:45 +0200 |
commit | d945a365a0686a37618503622954f8dc169b8bca (patch) | |
tree | b2db1f1b022099cf054d67e641b78720f9ac4ff6 /block/blk-mq.c | |
parent | blk-mq: make driver tag failure path easier to follow (diff) | |
download | linux-d945a365a0686a37618503622954f8dc169b8bca.tar.xz linux-d945a365a0686a37618503622954f8dc169b8bca.zip |
blk-mq: use true instead of 1 for blk_mq_queue_data.last
Trivial cleanup.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
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 b53ffcff2cec..9bdfeed59d9d 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -1462,7 +1462,7 @@ static void __blk_mq_try_issue_directly(struct request *rq, blk_qc_t *cookie, struct request_queue *q = rq->q; struct blk_mq_queue_data bd = { .rq = rq, - .last = 1 + .last = true, }; struct blk_mq_hw_ctx *hctx; blk_qc_t new_cookie; |