]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ecryptfs: make show_options reflect actual mount options
authorEric Sandeen <sandeen@redhat.com>
Wed, 6 Feb 2008 09:38:34 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:12 +0000 (10:41 -0800)
commit99db6e4a9764887842006a2b1aa804de6171db42
tree5d45cd3f74aaeeb9209dea2e9a00d197d4e2cc06
parent8e3a6f16ba5874b69968cd450334829262513fd1
ecryptfs: make show_options reflect actual mount options

Change ecryptfs_show_options to reflect the actual mount options in use.
Note that this does away with the "dir=" output, which is not a valid mount
option and appears to be unused.

Mount options such as "ecryptfs_verbose" and "ecryptfs_xattr_metadata" are
somewhat indeterminate for a given fs, but in any case the reported mount
options can be used in a new mount command to get the same behavior.

[akpm@linux-foundation.org: fix printk warning]
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Acked-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/super.c