Whamcloud - gitweb
libext2fs: Don't check the group checksum when !GDT_CSUM
authorTheodore Ts'o <tytso@mit.edu>
Sun, 13 Jul 2008 23:03:59 +0000 (19:03 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 Jul 2008 23:03:59 +0000 (19:03 -0400)
commit4729455f0a68f2fa0a83ec8460d1d4bccba9dcfa
treec244ac8ecf24f2b57ba0dab02da2dd154e496e7b
parentc13ab4fa7aa2ddd3daa66c353ad41422265de9c3
libext2fs: Don't check the group checksum when !GDT_CSUM

ext2fs_group_desc_csum_verify() is always checking the bg_checksum (to
make sure it is zero) even when the GDT_CSUM feature is not present.
This is normally OK, but apparently there are filesystems in the wild
where this field has not be initialized to zero.

Addresses-Debian-Bug: #490637

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