Documentation: ext4: correct the document about superblock
Subsystems (2)
PATCH 1/1 Documentation: ext4: correct the document about superblock
Correct some questions like this:s_lastcheck_hi field should be upper 8 bits of the s_lastcheck field, rather than itself.
--- Documentation/filesystems/ext4/super.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/filesystems/ext4/super.rst +3 -3
@@ -456,15 +456,15 @@ The ext4 superblock is laid out as follows in * - 0x277 - __u8 - s_lastcheck_hi - - Upper 8 bits of the s_lastcheck_hi field. + - Upper 8 bits of the s_lastcheck field. * - 0x278 - __u8 - s_first_error_time_hi - - Upper 8 bits of the s_first_error_time_hi field. + - Upper 8 bits of the s_first_error_time field. * - 0x279 - __u8 - s_last_error_time_hi - - Upper 8 bits of the s_last_error_time_hi field. + - Upper 8 bits of the s_last_error_time field. * - 0x27A - __u8 - s_pad[2]
Signature · 1 line
2.17.1
Quoted 17 lines · JunChao Sun
Correct some questions like this:
s_lastcheck_hifield should be upper 8 bits of thes_lastcheckfield, rather than itself.Documentation/filesystems/ext4/super.rst +1
-1@@ -456,15 +456,15 @@ The ext4 superblock is laid out as follows in * - 0x277 - __u8 - s_lastcheck_hi - - Upper 8 bits of the s_lastcheck_hi field. + - Upper 8 bits of the s_lastcheck field. * - 0x278 - __u8 - s_first_error_time_hi
Documentation/filesystems/ext4/super.rst The ext4 superblock is laid out as follows in · line 470
Quoted 10 lines
Documentation/filesystems/ext4/super.rst +2
-2- - Upper 8 bits of the s_first_error_time_hi field. + - Upper 8 bits of the s_first_error_time field. * - 0x279 - __u8 - s_last_error_time_hi - - Upper 8 bits of the s_last_error_time_hi field. + - Upper 8 bits of the s_last_error_time field. * - 0x27A - __u8 - s_pad[2]
The diff looks OK, but the description should be:
"The description of s_lastcheck_hi, s_first_error_time_hi, and s_last_error_time_hi fields refer to themselves, while these means referring to upper 8 bits (byte) of corresponding fields (s_lastcheck, s_first_error_time, and s_last_error_time). Correct the mistake."
Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Thanks for your suggestions, I will send patchv2.
Quoted 40 lines · Bagas Sanjaya
Quoted 17 lines · JunChao Sun
Correct some questions like this:
s_lastcheck_hifield should be upper 8 bits of thes_lastcheckfield, rather than itself.Documentation/filesystems/ext4/super.rst +1
-1@@ -456,15 +456,15 @@ The ext4 superblock is laid out as follows in * - 0x277 - __u8 - s_lastcheck_hi - - Upper 8 bits of the s_lastcheck_hi field. + - Upper 8 bits of the s_lastcheck field. * - 0x278 - __u8 - s_first_error_time_hiDocumentation/filesystems/ext4/super.rst The ext4 superblock is laid out as follows in · line 470
Quoted 10 lines
Documentation/filesystems/ext4/super.rst +2
-2- - Upper 8 bits of the s_first_error_time_hi field. + - Upper 8 bits of the s_first_error_time field. * - 0x279 - __u8 - s_last_error_time_hi - - Upper 8 bits of the s_last_error_time_hi field. + - Upper 8 bits of the s_last_error_time field. * - 0x27A - __u8 - s_pad[2]The diff looks OK, but the description should be:
"The description ofs_lastcheck_hi,s_first_error_time_hi, ands_last_error_time_hifields refer to themselves, while these means referring to upper 8 bits (byte) of corresponding fields (s_lastcheck,s_first_error_time, ands_last_error_time). Correct the mistake."Thanks.
--
An old man doll... just what I always wanted! - Clara