ext4: verify and calculate checksums for extent tree blocks
commit7ac5990d5a3e2e465162880819cc46c6427d3b6f
authorDarrick J. Wong <djwong@us.ibm.com>
Sun, 29 Apr 2012 22:37:10 +0000 (29 18:37 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Apr 2012 22:37:10 +0000 (29 18:37 -0400)
tree7ff0eafbf69010425c69bca61bddbc1c58adc89b
parentfa77dcfafeaa6bc73293c646bfc3d5192dcf0be2
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