summaryrefslogtreecommitdiff
path: root/fs/f2fs/Kconfig
diff options
context:
space:
mode:
authorKeith Mok <ek9852@gmail.com>2016-03-02 12:04:24 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2016-03-17 21:19:43 -0700
commit43b6573bac95d7cc8a7fb51efe8468c994f5cf56 (patch)
tree646cd760526d55dcfe0dc471f069021332a2b862 /fs/f2fs/Kconfig
parent999270de31138f1ae41743a856911f8e5e114264 (diff)
f2fs: use cryptoapi crc32 functions
The crc function is done bit by bit. Optimize this by use cryptoapi crc32 function which is backed by h/w acceleration. Signed-off-by: Keith Mok <ek9852@gmail.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/Kconfig')
-rw-r--r--fs/f2fs/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/Kconfig b/fs/f2fs/Kconfig
index 402792bae503..1f8982a957f1 100644
--- a/fs/f2fs/Kconfig
+++ b/fs/f2fs/Kconfig
@@ -1,6 +1,8 @@
config F2FS_FS
tristate "F2FS filesystem support"
depends on BLOCK
+ select CRYPTO
+ select CRYPTO_CRC32
help
F2FS is based on Log-structured File System (LFS), which supports
versatile "flash-friendly" features. The design has been focused on