summaryrefslogtreecommitdiff
path: root/fs/quota/Kconfig
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-04-19 18:47:20 +0400
committerJan Kara <jack@suse.cz>2010-04-20 20:25:25 +0400
commit62af9b520513d78484f22f874916dfacbc889ce0 (patch)
treee5c13d868166380105c3d491b8d380fe220e6484 /fs/quota/Kconfig
parent08261673cb6dc638c39f44d69b76fffb57b92a8b (diff)
downloadlinux-62af9b520513d78484f22f874916dfacbc889ce0.tar.xz
quota: Convert __DQUOT_PARANOIA symbol to standard config option
Make __DQUOT_PARANOIA define from the old days a standard config option and turn it off by default. This gets rid of a quota warning about writes before quota is turned on for systems with ext4 root filesystem. Currently there's no way to legally solve this because /etc/mtab has to be written before quota is turned on on most systems. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota/Kconfig')
-rw-r--r--fs/quota/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/quota/Kconfig b/fs/quota/Kconfig
index dad7fb247ddc..3e21b1e2ad3a 100644
--- a/fs/quota/Kconfig
+++ b/fs/quota/Kconfig
@@ -33,6 +33,14 @@ config PRINT_QUOTA_WARNING
Note that this behavior is currently deprecated and may go away in
future. Please use notification via netlink socket instead.
+config QUOTA_DEBUG
+ bool "Additional quota sanity checks"
+ depends on QUOTA
+ default n
+ help
+ If you say Y here, quota subsystem will perform some additional
+ sanity checks of quota internal structures. If unsure, say N.
+
# Generic support for tree structured quota files. Selected when needed.
config QUOTA_TREE
tristate