f2fs: reject test_dummy_encryption when !CONFIG_FS_ENCRYPTION
authorEric Biggers <ebiggers@google.com>
Sun, 1 May 2022 05:08:52 +0000 (22:08 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 May 2022 17:14:03 +0000 (10:14 -0700)
commit64e3ed0b8ea019597d0b5448fdf05a29eb65ae95
tree49f218772a3829c37ecbd05fd26b8e5b081b349d
parent7bc155fec5b371dbb57256e84a49c78692a09060
f2fs: reject test_dummy_encryption when !CONFIG_FS_ENCRYPTION

There is no good reason to allow this mount option when the kernel isn't
configured with encryption support.  Since this option is only for
testing, we can just fix this; we don't really need to worry about
breaking anyone who might be counting on this option being ignored.

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