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)
commitc5bca38d2edc8a8030a8f1b99115480046c5bd7d
tree9f0068f4259b70a64b2505f791291ad5bde2d5f3
parent0840a7914caa14315a3191178a9f72c742477860
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