From: Darrick J. Wong Date: Sun, 29 Apr 2012 22:41:10 +0000 (-0400) Subject: ext4: calculate and verify checksums of directory leaf blocks X-Git-Tag: v3.5-rc1~16^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0336e8d2108e6302aecaadd17c6c0bd686da22d;p=pandora-kernel.git ext4: calculate and verify checksums of directory leaf blocks Calculate and verify the checksums for directory leaf blocks (i.e. blocks that only contain actual directory entries). The checksum lives in what looks to be an unused directory entry with a 0 name_len at the end of the block. This scheme is not used for internal htree nodes because the mechanism in place there only costs one dx_entry, whereas the "empty" directory entry would cost two dx_entries. Signed-off-by: Darrick J. Wong Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed