docs: block: fix stat.rst document error
Subsystems (2)
PATCH 1/1 docs: block: fix stat.rst document error
There are 17 decimal vaules, not 11.
Previous committers forgot to change this number when adding new fields.
--- Documentation/block/stat.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/block/stat.rst +1 -1
@@ -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.
Signature · 1 line
2.25.1
Quoted 15 lines · Gao Mingfei
There are 17 decimal vaules, not 11.
Previous committers forgot to change this number when adding new fields.
Signed-off-by Gao Mingfei <[email protected]>--- Documentation/block/stat.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/block/stat.rst +0
-0
Documentation/block/stat.rst A. · line 23
Quoted 7 lines
Documentation/block/stat.rst +1
-1@@ -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
Thanks! This is my first patch, I'll try to write the changelog in kernel style in the future.
Regards,
Gao Mingfei
Quoted 35 lines · Jonathan Corbet <[email protected]> 于2021年6月5日周六 上午1:26写道:
Quoted 15 lines · Gao Mingfei
There are 17 decimal vaules, not 11.
Previous committers forgot to change this number when adding new fields.
Signed-off-by Gao Mingfei <[email protected]>--- Documentation/block/stat.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/block/stat.rst +0
-0Documentation/block/stat.rst A. · line 23
Quoted 7 lines
Documentation/block/stat.rst +1
-1@@ -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