]> www.infradead.org Git - users/willy/xarray.git/commit
block: Catch possible entries missing from rqf_name[]
authorJohn Garry <john.g.garry@oracle.com>
Fri, 19 Jul 2024 11:29:12 +0000 (11:29 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 19 Jul 2024 15:32:49 +0000 (09:32 -0600)
commit8a47e33f50dd779f94bc277c6d3de81672463c5e
tree9ef36c0d0a592d300751ce7b84d8144f9cd16980
parent2d61a6c2ca7aadce3771f81a3624848f97dcc39e
block: Catch possible entries missing from rqf_name[]

Add a BUILD_BUG_ON() call to ensure that we are not missing entries in
rqf_name[].

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240719112912.3830443-16-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c
include/linux/blk-mq.h