]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: use the updated test_dummy_encryption helper functions
authorEric Biggers <ebiggers@google.com>
Mon, 6 Jun 2022 22:32:41 +0000 (15:32 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 25 Jun 2022 19:11:56 +0000 (12:11 -0700)
commitae4fd6c9d9bb09a105cd9f088782c034a46ce54b
tree9f0068f4259b70a64b2505f791291ad5bde2d5f3
parent12de8861954101aa9154a1041e1a6f07eef3d182
f2fs: use the updated test_dummy_encryption helper functions

Switch f2fs over to the functions that are replacing
fscrypt_set_test_dummy_encryption().  Since f2fs hasn't been converted
to the new mount API yet, this doesn't really provide a benefit for
f2fs.  But it allows fscrypt_set_test_dummy_encryption() to be removed.

Also take the opportunity to eliminate an #ifdef.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c