summaryrefslogtreecommitdiff
path: root/fs/btrfs/hash.c
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2016-06-08 21:36:12 (GMT)
committerChris Mason <clm@fb.com>2016-06-08 21:36:12 (GMT)
commit719da39a61173c849f70656ed1a302e4b6deaa5b (patch)
treedcba3abd4921cdc663eb0fbad0c7e62fbe73f27c /fs/btrfs/hash.c
parent4c52990080e37925039a4d546937e9df2a8da944 (diff)
parent5f9e1059d9347191b271bf7d13bd83db57594d2a (diff)
downloadlinux-719da39a61173c849f70656ed1a302e4b6deaa5b.tar.xz
Merge branch 'misc-fixes-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus-4.7
Diffstat (limited to 'fs/btrfs/hash.c')
-rw-r--r--fs/btrfs/hash.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/hash.c b/fs/btrfs/hash.c
index aae520b..a97fdc1 100644
--- a/fs/btrfs/hash.c
+++ b/fs/btrfs/hash.c
@@ -24,6 +24,11 @@ int __init btrfs_hash_init(void)
return PTR_ERR_OR_ZERO(tfm);
}
+const char* btrfs_crc32c_impl(void)
+{
+ return crypto_tfm_alg_driver_name(crypto_shash_tfm(tfm));
+}
+
void btrfs_hash_exit(void)
{
crypto_free_shash(tfm);