]> exis.tech > repos - linux.git/commit
block: add a macro to initialize the status table
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Jun 2026 14:06:44 +0000 (16:06 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Jun 2026 16:40:35 +0000 (10:40 -0600)
commit8c8ebed16581faf3b3e97336aeca3d8226c4435f
tree65688c1e5e1c85baf99d5ab9ae2e4bbd3917249f
parent64e335790272d9b0468af3a70e34f377924b156f
block: add a macro to initialize the status table

Prepare for adding a new value to the error table by adding a macro
to fill it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Md Haris Iqbal <haris.iqbal@linux.dev>
Link: https://patch.msgid.link/20260611140703.2401204-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c