Re: [PATCH 2/4] block: get rid of blk_status_to_{errno,str} inconsistency
Christoph Hellwig <[email protected]> Thu, 5 Mar 2026 06:13:33 -0800
| Newsgroups | org.kernel.vger.linux-bcache,dev.linux.lists.dm-devel,dev.linux.lists.drbd-dev,net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Mar 04, 2026 at 08:04:07PM +0100, 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. Looks good: Reviewed-by: Christoph Hellwig <[email protected]> While you're at it: blk_status_to_str is exported, but as no modular users, can you also drop the export?