diff options
author | David Woodhouse <dwmw2@infradead.org> | 2009-04-19 13:02:41 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-06-10 11:29:53 -0400 |
commit | 163e783e6a8b1e8bcb4c9084d438091386b589df (patch) | |
tree | dd7fbe662b7c81ba8c548b309fed4376f07ea495 /fs/btrfs/hash.h | |
parent | 6cbff00f4632c8060b06bfc9585805217f11e12e (diff) | |
download | linux-stable-163e783e6a8b1e8bcb4c9084d438091386b589df.tar.gz linux-stable-163e783e6a8b1e8bcb4c9084d438091386b589df.tar.bz2 linux-stable-163e783e6a8b1e8bcb4c9084d438091386b589df.zip |
Btrfs: remove crc32c.h and use libcrc32c directly.
There's no need to preserve this abstraction; it used to let us use
hardware crc32c support directly, but libcrc32c is already doing that for us
through the crypto API -- so we're already using the Intel crc32c
acceleration where appropriate.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/hash.h')
-rw-r--r-- | fs/btrfs/hash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/hash.h b/fs/btrfs/hash.h index 2a020b276768..db2ff9773b99 100644 --- a/fs/btrfs/hash.h +++ b/fs/btrfs/hash.h @@ -19,9 +19,9 @@ #ifndef __HASH__ #define __HASH__ -#include "crc32c.h" +#include <linux/crc32c.h> static inline u64 btrfs_name_hash(const char *name, int len) { - return btrfs_crc32c((u32)~1, name, len); + return crc32c((u32)~1, name, len); } #endif |