summaryrefslogtreecommitdiff
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2017-04-05 12:01:36 -0700
committerJens Axboe <axboe@fb.com>2017-04-07 12:45:45 -0600
commitd945a365a0686a37618503622954f8dc169b8bca (patch)
treeb2db1f1b022099cf054d67e641b78720f9ac4ff6 /block/blk-mq.c
parent807b10417b23f1e1a35fccc7ede2c3886d39c303 (diff)
downloadlwn-d945a365a0686a37618503622954f8dc169b8bca.tar.gz
lwn-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.c2
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;