diff options
author | 2024-12-01 17:08:41 -0800 | |
---|---|---|
committer | 2024-12-01 17:23:02 -0800 | |
commit | f2b4fa19647e18a2e2aade7e3e4620567e7e594a (patch) | |
tree | c752627e5abd7c2dc8675c4445c3defdff253556 /fs/ext4/Kconfig | |
parent | lib/crc32: make crc32c() go directly to lib (diff) | |
download | linux-rng-f2b4fa19647e18a2e2aade7e3e4620567e7e594a.tar.xz linux-rng-f2b4fa19647e18a2e2aade7e3e4620567e7e594a.zip |
ext4: switch to using the crc32c library
Now that the crc32c() library function directly takes advantage of
architecture-specific optimizations, it is unnecessary to go through the
crypto API. Just use crc32c(). This is much simpler, and it improves
performance due to eliminating the crypto API overhead.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20241202010844.144356-17-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/ext4/Kconfig')
-rw-r--r-- | fs/ext4/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig index e20d59221fc0..c9ca41d91a6c 100644 --- a/fs/ext4/Kconfig +++ b/fs/ext4/Kconfig @@ -31,8 +31,7 @@ config EXT4_FS select BUFFER_HEAD select JBD2 select CRC16 - select CRYPTO - select CRYPTO_CRC32C + select CRC32 select FS_IOMAP select FS_ENCRYPTION_ALGS if FS_ENCRYPTION help |