From 7b4daff56b8d78634ecd891c60ea18740c562cc7 Mon Sep 17 00:00:00 2001 From: "Alexander.Boyko" Date: Mon, 22 Oct 2012 22:21:50 +0400 Subject: [PATCH] LU-2212 crypto: add crc32c module loading to libcfs This patch add automatically module loading for crc32c when libcfs is starting. Signed-off-by: Alexander Boyko Xyratex-bug-id: MRP-725 Change-Id: I3bd8a29cd05b25b77a57f6df254f3d39641d99a1 Reviewed-on: http://review.whamcloud.com/4372 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Shuichi Ihara Reviewed-by: James Simmons --- libcfs/libcfs/linux/linux-crypto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcfs/libcfs/linux/linux-crypto.c b/libcfs/libcfs/linux/linux-crypto.c index 11caba4..2f14540 100644 --- a/libcfs/libcfs/linux/linux-crypto.c +++ b/libcfs/libcfs/linux/linux-crypto.c @@ -350,6 +350,8 @@ static int crc32pclmul; int cfs_crypto_register(void) { + cfs_request_module("crc32c"); + crc32 = cfs_crypto_crc32_register(); adler32 = cfs_crypto_adler32_register(); -- 1.8.3.1