]> 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)
commit04ca410b6ef971817f8489c0abcafa6bd4253081
tree7ff0eafbf69010425c69bca61bddbc1c58adc89b
parent3e0ccfe722306ddf51485526ebd6516086b64a6e
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