ecryptfs: remove debug as mount option, and warn if set via modprobe
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)
commit2830bfd6cf66133c86d4a32004fd99c3de7e23bf
tree51f68453ad6b5a3a75667385369bbd9b5ba8a02c
parent99db6e4a9764887842006a2b1aa804de6171db42
ecryptfs: remove debug as mount option, and warn if set via modprobe

ecryptfs_debug really should not be a mount option; it is not per-mount,
but rather sets a global "ecryptfs_verbosity" variable which affects all
mounted filesysytems.  It's already settable as a module load option,
I think we can leave it at that.

Also, if set, since secret values come out in debug messages, kick
things off with a stern warning.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Acked-by: Mike 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/main.c
fs/ecryptfs/super.c