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).
Unified · Split
| @@ -643,7 +643,7 @@ int fscrypt_set_test_dummy_encryption(struct super_block *sb, · 642 unmodified lines | |||
| 643 | const substring_t *arg, | 643 | const substring_t *arg, |
| 644 | struct fscrypt_dummy_context *dummy_ctx) | 644 | struct fscrypt_dummy_context *dummy_ctx) |
| 645 | { | 645 | { |
| 646 | const char *argstr = "v1"; | 646 | const char *argstr = "v2"; |
| 647 | const char *argstr_to_free = NULL; | 647 | const char *argstr_to_free = NULL; |
| 648 | struct fscrypt_key_specifier key_spec = { 0 }; | 648 | struct fscrypt_key_specifier key_spec = { 0 }; |
| 649 | int version; | 649 | int version; |