]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
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 <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