ocfs2: Add the underlying blockcheck code.
authorJoel Becker <[email protected]>
Fri, 17 Oct 2008 00:54:25 +0000 (17:54 -0700)
committerMark Fasheh <[email protected]>
Mon, 5 Jan 2009 16:40:31 +0000 (08:40 -0800)
commit70ad1ba7b48364d758a112df0823edc5ca6632aa
tree0ec30f4a812c1e66e3e3e7457eca1db8a451549a
parentab552d54673f262d7f70014003d3928d29270f22
ocfs2: Add the underlying blockcheck code.

This is the code that computes crc32 and ecc for ocfs2 metadata blocks.
There are high-level functions that check whether the filesystem has the
ecc feature, mid-level functions that work on a single block or array of
buffer_heads, and the low-level ecc hamming code that can handle
multiple buffers like crc32_le().

It's not hooked up to the filesystem yet.

Signed-off-by: Joel Becker <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Mark Fasheh <[email protected]>
fs/ocfs2/Makefile
fs/ocfs2/blockcheck.c [new file with mode: 0644]
fs/ocfs2/blockcheck.h [new file with mode: 0644]
fs/ocfs2/ocfs2.h