Whamcloud - gitweb
libext2fs: add metadata checksum and snapshot feature flags
authorTheodore Ts'o <tytso@mit.edu>
Thu, 15 Sep 2011 14:38:55 +0000 (10:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 16 Sep 2011 14:24:09 +0000 (10:24 -0400)
commit89efc88e65136ece22708cc28ec4124a33feeecd
tree2f86bf3338a716d40fd6edc0308aad27e65ac359
parent2418dfd7b934ee6bf3dc9a0aa4ffee8b37f4384f
libext2fs: add metadata checksum and snapshot feature flags

Reserve EXT4_FEATURE_RO_COMPAT_METADATA_CSUM and
EXT2_FEATURE_COMPAT_EXCLUDE_BITMAP.  Also reserve fields in the
superblock and the inode for the checksums.  In the block group
descriptor, reserve the exclude bitmap field for the snapshot feature,
and checksums for the inode and block allocation bitmaps.

With this commit, the metadata checksum and exclude bitmap features
should have reserved all of the fields they need in ext4's on-disk
format.

This commit also fixes an a missing byte swap for s_overhead_blocks.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Darrick J. Wong <djwong@us.ibm.com>
Cc: Amir Goldstein <amir73il@gmail.com>
debugfs/set_fields.c
e2fsck/pass1.c
lib/e2p/feature.c
lib/e2p/ls.c
lib/ext2fs/ext2_fs.h
lib/ext2fs/swapfs.c
lib/ext2fs/tst_inode_size.c
lib/ext2fs/tst_super_size.c