summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/super.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>2009-04-22 11:08:46 +0200
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>2009-04-22 11:08:46 +0200
commite77cc8d243f9f1e1d3f0799e23cc14e837ccc8c6 (patch)
treee71815e09c73e33bdd2c687f7508e3720c4d3ed7 /fs/ecryptfs/super.c
parenteCryptfs: Fix data corruption when using ecryptfs_passthrough (diff)
downloadlinux-e77cc8d243f9f1e1d3f0799e23cc14e837ccc8c6.tar.xz
linux-e77cc8d243f9f1e1d3f0799e23cc14e837ccc8c6.zip
eCryptfs: Remove ecryptfs_unlink_sigs warnings
A feature was added to the eCryptfs umount helper to automatically unlink the keys used for an eCryptfs mount from the kernel keyring upon umount. This patch keeps the unrecognized mount option warnings for ecryptfs_unlink_sigs out of the logs. Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'fs/ecryptfs/super.c')
-rw-r--r--fs/ecryptfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ecryptfs/super.c b/fs/ecryptfs/super.c
index b5003023f106..fa4c7e7d15d9 100644
--- a/fs/ecryptfs/super.c
+++ b/fs/ecryptfs/super.c
@@ -189,6 +189,8 @@ static int ecryptfs_show_options(struct seq_file *m, struct vfsmount *mnt)
seq_printf(m, ",ecryptfs_xattr_metadata");
if (mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED)
seq_printf(m, ",ecryptfs_encrypted_view");
+ if (mount_crypt_stat->flags & ECRYPTFS_UNLINK_SIGS)
+ seq_printf(m, ",ecryptfs_unlink_sigs");
return 0;
}