diff options
author | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2010-10-16 01:43:41 +0400 |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2010-10-29 19:31:36 +0400 |
commit | 8747f954817212b4623f9067d4909cbde04b4d89 (patch) | |
tree | d303bd72ad84fa11764813c018c1f38532aea0ae /fs | |
parent | f16feb5119a87f5e683be7e8916c060abfb0e8d6 (diff) | |
download | linux-8747f954817212b4623f9067d4909cbde04b4d89.tar.xz |
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 <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ecryptfs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ecryptfs/super.c b/fs/ecryptfs/super.c index f7fc286a3aa9..253732382d37 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; } |