From: Tyler Hicks Date: Fri, 15 Oct 2010 21:43:41 +0000 (-0500) Subject: eCryptfs: Print mount_auth_tok_only param in ecryptfs_show_options X-Git-Tag: v2.6.37-rc1~34^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8747f954817212b4623f9067d4909cbde04b4d89;p=platform%2Fkernel%2Flinux-exynos.git 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: Tyler Hicks --- diff --git a/fs/ecryptfs/super.c b/fs/ecryptfs/super.c index f7fc286..2537323 100644 --- a/fs/ecryptfs/super.c +++ b/fs/ecryptfs/super.c @@ -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; }