Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8747f954 authored by Tyler Hicks's avatar Tyler Hicks
Browse files

eCryptfs: Print mount_auth_tok_only param in ecryptfs_show_options



When printing mount options, print the new ecryptfs_mount_auth_tok_only
mount option.

Signed-off-by: default avatarTyler Hicks <tyhicks@linux.vnet.ibm.com>
parent f16feb51
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -180,6 +180,8 @@ static int ecryptfs_show_options(struct seq_file *m, struct vfsmount *mnt)
		seq_printf(m, ",ecryptfs_encrypted_view");
	if (mount_crypt_stat->flags & ECRYPTFS_UNLINK_SIGS)
		seq_printf(m, ",ecryptfs_unlink_sigs");
	if (mount_crypt_stat->flags & ECRYPTFS_GLOBAL_MOUNT_AUTH_TOK_ONLY)
		seq_printf(m, ",ecryptfs_mount_auth_tok_only");

	return 0;
}