]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: switch to using the crc32 library
authorEric Biggers <ebiggers@google.com>
Mon, 2 Dec 2024 01:08:43 +0000 (17:08 -0800)
committerEric Biggers <ebiggers@google.com>
Mon, 2 Dec 2024 01:23:02 +0000 (17:23 -0800)
commit3ca4bec40ee211cd5d907c8e98b66c92f6a1b1e1
treebc763bba5b7cd4290a0269d7459fb240d7d2acf1
parentdd348f054b24a3f57cbcdc2c8e7ebc22c62eb72f
f2fs: switch to using the crc32 library

Now that the crc32() library function takes advantage of
architecture-specific optimizations, it is unnecessary to go through the
crypto API.  Just use crc32().  This is much simpler, and it improves
performance due to eliminating the crypto API overhead.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20241202010844.144356-19-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/f2fs/Kconfig
fs/f2fs/f2fs.h
fs/f2fs/super.c