]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - block/blk-mq.c
block: Fix two comments that refer to .queue_rq() return values
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 23:23:00 +0000 (16:23 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:36:58 +0000 (08:36 -0600)
commit4d6062193b4ca53bb45a318a1ec7680fd91b72ad
tree8c17257fd2a82761fb37b88e793c86e79ef93f9f
parent7a8362a0b5919f91a2255612a29e1cde4cac5f48
block: Fix two comments that refer to .queue_rq() return values

Since patch "blk-mq: switch .queue_rq return value to blk_status_t"
.queue_rq() returns a BLK_STS_* value instead of a BLK_MQ_RQ_*
value. Hence refer to the former in comments about .queue_rq()
return values.

Fixes: commit 39a70c76b89b ("blk-mq: clarify dispatch may not be drained/blocked by stopping queue")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c