]> 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)
commitfd61d5fd480724f55259cc0bbacb75314b7b3039
tree9f0068f4259b70a64b2505f791291ad5bde2d5f3
parent2ee6cc074b06df644cd5e7cfc9c8f9588655d95d
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