• Joel Becker's avatar
    ocfs2: Add the underlying blockcheck code. · 70ad1ba7
    Joel Becker authored
    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: default avatarJoel Becker <joel.becker@oracle.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
    70ad1ba7
blockcheck.h 2.91 KB