diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-29 16:53:11 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-29 19:23:25 +0300 |
commit | 419c3d5e8012928fbf9a086b07b618146cc9277b (patch) | |
tree | 69da8e9acf90a15e1cf18efa47c7f6978dbef1d7 /block/blk-mq.c | |
parent | 7ea4d8a4d683298abd346abf89567774de2fa34a (diff) | |
download | linux-419c3d5e8012928fbf9a086b07b618146cc9277b.tar.xz |
blk-mq: rename BLK_MQ_TAG_FAIL to BLK_MQ_NO_TAG
To prepare for wider use of this constant give it a more applicable name.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
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 b20ad88d2d70..cd2fd7f8524c 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -386,7 +386,7 @@ static struct request *__blk_mq_alloc_request(struct blk_mq_alloc_data *data) } tag = blk_mq_get_tag(data); - if (tag == BLK_MQ_TAG_FAIL) { + if (tag == BLK_MQ_NO_TAG) { if (clear_ctx_on_error) data->ctx = NULL; return NULL; |