summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_linux.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2012-11-15 23:20:37 +0100
committerBen Myers <bpm@sgi.com>2012-11-20 03:11:24 +0100
commitbc02e8693d875c2a9b0037cfd37fe0b726d26403 (patch)
tree6896726d63947779f941a4daf055da142ad07985 /fs/xfs/xfs_linux.h
parentxfs: convert buffer verifiers to an ops structure. (diff)
downloadlinux-bc02e8693d875c2a9b0037cfd37fe0b726d26403.tar.xz
linux-bc02e8693d875c2a9b0037cfd37fe0b726d26403.zip
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>
Diffstat (limited to 'fs/xfs/xfs_linux.h')
-rw-r--r--fs/xfs/xfs_linux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_linux.h b/fs/xfs/xfs_linux.h
index 0a134ca5211c..fe7e4df85a7b 100644
--- a/fs/xfs/xfs_linux.h
+++ b/fs/xfs/xfs_linux.h
@@ -44,6 +44,7 @@
#include <linux/kernel.h>
#include <linux/blkdev.h>
#include <linux/slab.h>
+#include <linux/crc32c.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/file.h>