Skip to content

Commit 0d09307

Browse files
ebiggersgregkh
authored andcommitted
ext4: show test_dummy_encryption mount option in /proc/mounts
commit 338affb upstream. When in effect, add "test_dummy_encryption" to _ext4_show_options() so that it is shown in /proc/mounts and other relevant procfs files. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 3dc006d commit 0d09307

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

fs/ext4/super.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,6 +2085,8 @@ static int _ext4_show_options(struct seq_file *seq, struct super_block *sb,
20852085
SEQ_OPTS_PRINT("max_dir_size_kb=%u", sbi->s_max_dir_size_kb);
20862086
if (test_opt(sb, DATA_ERR_ABORT))
20872087
SEQ_OPTS_PUTS("data_err=abort");
2088+
if (DUMMY_ENCRYPTION_ENABLED(sbi))
2089+
SEQ_OPTS_PUTS("test_dummy_encryption");
20882090

20892091
ext4_show_quota_options(seq, sb);
20902092
return 0;

0 commit comments

Comments
 (0)