Re: [PATCH 1/4] block: consecutive blk_status_t error codes

From: Christoph Hellwig

Date: Thu Mar 05 2026 - 09:13:47 EST


On Wed, Mar 04, 2026 at 08:04:06PM +0100, Andreas Gruenbacher wrote:
> Since commit 9da3d1e912f3 ("block: Add core atomic write support"),
> there is a gap in the blk_status_t codes and block status code 18 is
> unused. This causes blk_status_to_errno() and blk_status_to_str() to
> return incorrect values for that code. Make the blk_status_t codes
> consecutive again to avoid that.

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>