On Mon, Sep 22, 2025 at 05:58:41AM -0600, Jens Axboe wrote: > A recent commit skipped dumping the usual "attempt to access beyond end > of device" message if the device size is 0 sectors, as that's a common > pattern for devices that have been hot removed. But while it stopped > that message, it also prevented returning -EIO for that condition. > Reinstate the -EIO return, while retaining the quiet operation for > triggering EOD for a device with 0 sectors. Ooops. The fix looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>