[PATCH 1/4] block: consecutive blk_status_t error codes
Christoph Hellwig
hch at infradead.org
Thu Mar 5 15:12:49 CET 2026
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 at lst.de>
More information about the drbd-dev
mailing list