Re: [PATCH 2/4] block: get rid of blk_status_to_{errno,str} inconsistency
From: John Garry
Date: Fri Mar 06 2026 - 10:52:47 EST
On 04/03/2026 19:04, Andreas Gruenbacher wrote:
Change blk_status_to_str() to be consistent with blk_status_to_errno()
and return "I/O" for undefined status codes.
With that, the fallback case in the blk_errors array can be removed with
no change in behavior.
Signed-off-by: Andreas Gruenbacher<agruenba@xxxxxxxxxx>
Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>