]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: verify and calculate checksums for extent tree blocks
authorDarrick J. Wong <djwong@us.ibm.com>
Sun, 29 Apr 2012 22:37:10 +0000 (18:37 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Apr 2012 22:37:10 +0000 (18:37 -0400)
commit6881b63274b12e9a495f4fe3d31433b1e391325c
tree7ff0eafbf69010425c69bca61bddbc1c58adc89b
parent43ec8adb0d3f68c3688810f1883d62d341fa2efd
ext4: verify and calculate checksums for extent tree  blocks

Calculate and verify the checksum for each extent tree block.  The
checksum is located in the space immediately after the last possible
ext4_extent in the block.  The space is is typically the last 4-8
bytes in the block.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4_extents.h
fs/ext4/extents.c