OSDN Git Service

libext2fs: checksum bg descriptors larger than 64 bytes
authorTheodore Ts'o <tytso@mit.edu>
Wed, 25 Dec 2013 04:19:07 +0000 (23:19 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 25 Dec 2013 04:19:07 +0000 (23:19 -0500)
commitb3c2a638139b5da7f63f7ebe450860918d297a39
tree31de0acc2bd7a4880e35369b909be78233e9bacc
parentaafd3615509282a6cf1296782c7a5b25b5e94278
libext2fs: checksum bg descriptors larger than 64 bytes

Currently the ext4 block group descriptor is 64 bytes.  In case we
need to support larger block group descriptors in the future, teach
ext2fs_group_desc_csum() to checksum parts of the block group
descriptors that libext2fs doesn't yet understand.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/csum.c