Re: [PATCH] docs: block: fix stat.rst document error

From: Jonathan Corbet
Date: Fri Jun 04 2021 - 13:26:54 EST


Gao Mingfei <g199209@xxxxxxxxx> writes:

> There are 17 decimal vaules, not 11.
>
> Previous committers forgot to change this number when adding
> new fields.
>
> Signed-off-by: Gao Mingfei <g199209@xxxxxxxxx>
> ---
> Documentation/block/stat.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/block/stat.rst b/Documentation/block/stat.rst
> index 77311335c08b..a1cd9db2058f 100644
> --- a/Documentation/block/stat.rst
> +++ b/Documentation/block/stat.rst
> @@ -18,7 +18,7 @@ A.
> each, it would be impossible to guarantee that a set of readings
> represent a single point in time.
>
> -The stat file consists of a single line of text containing 11 decimal
> +The stat file consists of a single line of text containing 17 decimal
> values separated by whitespace. The fields are summarized in the
> following table, and described in more detail below.

I've applied this. I rewrote the changelog, though, to better fit
kernel style:

Update the description of the device stat files to include the
proper number of fields.

Thanks,

jon