History

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).

Eric Biggers committed 6 years ago

Commit 0ca2ddb1 parent ed318a61 file · +1 −1Browse files

Unified · Split

fs/crypto/policy.c+1−1
@@ -643,7 +643,7 @@ int fscrypt_set_test_dummy_encryption(struct super_block *sb, · 642 unmodified lines
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;