Skip to content

Commit 0ca2ddb

Browse files
committed
fscrypt: make test_dummy_encryption use v2 by default
Since v1 encryption policies are deprecated, make test_dummy_encryption test v2 policies by default. Note that this causes ext4/023 and ext4/028 to start failing due to known bugs in those tests (see previous commit). Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jaegeuk Kim <[email protected]> Reviewed-by: Theodore Ts'o <[email protected]> Signed-off-by: Eric Biggers <[email protected]>
1 parent ed318a6 commit 0ca2ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/crypto/policy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ int fscrypt_set_test_dummy_encryption(struct super_block *sb,
643643
const substring_t *arg,
644644
struct fscrypt_dummy_context *dummy_ctx)
645645
{
646-
const char *argstr = "v1";
646+
const char *argstr = "v2";
647647
const char *argstr_to_free = NULL;
648648
struct fscrypt_key_specifier key_spec = { 0 };
649649
int version;

0 commit comments

Comments
 (0)