Re: [PATCH] Documentation: block: fix the sector 0 error injection example

From: Christoph Hellwig

Date: Mon Aug 17 2026 - 02:57:16 EST


On Sat, Aug 15, 2026 at 09:11:00PM +0200, Md Haris Iqbal wrote:
> The first error injection example is introduced as failing one in ten
> reads of sector 0, but the rule it shows does not set nr_sectors, which
> defaults to the remainder of the device. As written it fails one in ten
> reads of the whole device.
>
> Add nr_sectors=1 so that the rule does what the text says. This also
> gives the documentation one example that uses nr_sectors.

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>