gfs2: Fix the crc32c dependency
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 1 Feb 2018 10:12:13 +0000 (11:12 +0100)
committerBob Peterson <rpeterso@redhat.com>
Thu, 1 Feb 2018 18:25:31 +0000 (11:25 -0700)
Depend on LIBCRC32C which uses the crypto API to select the appropriate
crc32c implementation.  With the CRYPTO and CRYPTO_CRC32C dependencies,
gfs2 would still need to use the crypto API directly like ext4 and btrfs
do, which isn't necessary.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/Kconfig

index c0225d4b543539eeff078f23befbe4fed84dbb08..3ed2b088dcfd69690d1f454a030350120f532e53 100644 (file)
@@ -3,8 +3,7 @@ config GFS2_FS
        depends on (64BIT || LBDAF)
        select FS_POSIX_ACL
        select CRC32
-       select CRYPTO
-       select CRYPTO_CRC32C
+       select LIBCRC32C
        select QUOTACTL
        select FS_IOMAP
        help