]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Add the underlying blockcheck code.
authorJoel Becker <joel.becker@oracle.com>
Fri, 17 Oct 2008 00:54:25 +0000 (17:54 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:31 +0000 (08:40 -0800)
commitd82ac27e7ee0963d595a4fbfd3279bd18317f780
tree0ec30f4a812c1e66e3e3e7457eca1db8a451549a
parentaa0dfc493b2b5fa6c7ca49f527bf50de04cc5851
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 <joel.becker@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
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