xfs: add CRC infrastructure
authorChristoph Hellwig <hch@lst.de>
Thu, 15 Nov 2012 22:20:37 +0000 (09:20 +1100)
committerBen Myers <bpm@sgi.com>
Tue, 20 Nov 2012 02:11:24 +0000 (20:11 -0600)
commitbc02e8693d875c2a9b0037cfd37fe0b726d26403
tree6896726d63947779f941a4daf055da142ad07985
parent1813dd64057490e7a0678a885c4fe6d02f78bdc1
xfs: add CRC infrastructure

 - add a mount feature bit for CRC enabled filesystems
 - add some helpers for generating and verifying the CRCs
 - add a copy_uuid helper

The checksumming helpers are loosely based on similar ones in sctp,
all other bits come from Dave Chinner.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/Kconfig
fs/xfs/uuid.h
fs/xfs/xfs_cksum.h [new file with mode: 0644]
fs/xfs/xfs_linux.h
fs/xfs/xfs_sb.h