ocfs2: Add the on-disk structures for metadata checksums.
authorJoel Becker <joel.becker@oracle.com>
Fri, 17 Oct 2008 00:50:30 +0000 (17:50 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:31 +0000 (08:40 -0800)
commitab552d54673f262d7f70014003d3928d29270f22
tree86a966a56e0fc38ce0a1464b811b31ece1cf820c
parente06c8227fd94ec181849ba206bf032be31c4295c
ocfs2: Add the on-disk structures for metadata checksums.

Define struct ocfs2_block_check, an 8-byte structure containing a 32bit
crc32_le and a 16bit hamming code ecc.  This will be used for metadata
checksums.  Add the structure to free spaces in the various metadata
structures.

Add the OCFS2_FEATURE_INCOMPAT_META_ECC bit.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/ocfs2_fs.h