From aa1f18c4dac909e63250c7a915cad8af4d39ed7c Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 23 Aug 2019 22:32:00 -0400 Subject: [PATCH] Update documentation fixes --- documentation-fixes | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/documentation-fixes b/documentation-fixes index f01178b4..e20b6dd5 100644 --- a/documentation-fixes +++ b/documentation-fixes @@ -26,10 +26,10 @@ Reviewed-by: Andreas Dilger Documentation/filesystems/ext4/blockgroup.rst | 10 +++++----- Documentation/filesystems/ext4/blocks.rst | 4 +++- Documentation/filesystems/ext4/directory.rst | 2 +- - Documentation/filesystems/ext4/group_descr.rst | 2 +- + Documentation/filesystems/ext4/group_descr.rst | 9 ++++++--- Documentation/filesystems/ext4/inodes.rst | 4 ++-- Documentation/filesystems/ext4/super.rst | 20 ++++++++++++++------ - 6 files changed, 26 insertions(+), 16 deletions(-) + 6 files changed, 31 insertions(+), 18 deletions(-) diff --git a/Documentation/filesystems/ext4/blockgroup.rst b/Documentation/filesystems/ext4/blockgroup.rst index baf888e4c06a..3da156633339 100644 @@ -81,18 +81,25 @@ index 614034e24669..073940cc64ed 100644 tree traversal. This format is ``ext4_dir_entry_2``, which is at most 263 bytes long, though on disk you'll need to reference diff --git a/Documentation/filesystems/ext4/group_descr.rst b/Documentation/filesystems/ext4/group_descr.rst -index 0f783ed88592..85f5d02dcf6f 100644 +index 0f783ed88592..7ba6114e7f5c 100644 --- a/Documentation/filesystems/ext4/group_descr.rst +++ b/Documentation/filesystems/ext4/group_descr.rst -@@ -99,7 +99,7 @@ The block group descriptor is laid out in ``struct ext4_group_desc``. +@@ -99,9 +99,12 @@ The block group descriptor is laid out in ``struct ext4_group_desc``. * - 0x1E - \_\_le16 - bg\_checksum - - Group descriptor checksum; crc16(sb\_uuid+group+desc) if the -+ - Group descriptor checksum; crc16(sb\_uuid+group\_desc) if the - RO\_COMPAT\_GDT\_CSUM feature is set, or crc32c(sb\_uuid+group\_desc) & - 0xFFFF if the RO\_COMPAT\_METADATA\_CSUM feature is set. +- RO\_COMPAT\_GDT\_CSUM feature is set, or crc32c(sb\_uuid+group\_desc) & +- 0xFFFF if the RO\_COMPAT\_METADATA\_CSUM feature is set. ++ - Group descriptor checksum; crc16(sb\_uuid+group\_num+bg\_desc) if the ++ RO\_COMPAT\_GDT\_CSUM feature is set, or ++ crc32c(sb\_uuid+group\_num+bg\_desc) & 0xFFFF if the ++ RO\_COMPAT\_METADATA\_CSUM feature is set. The bg\_checksum ++ field in bg\_desc is skipped when calculating crc16 checksum, ++ and set to zero if crc32c checksum is used. * - + - + - diff --git a/Documentation/filesystems/ext4/inodes.rst b/Documentation/filesystems/ext4/inodes.rst index 6bd35e506b6f..34f62928cebc 100644 --- a/Documentation/filesystems/ext4/inodes.rst -- 2.11.4.GIT