diff options
author | Jan Kara <jack@suse.cz> | 2010-04-19 16:47:20 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-04-20 18:25:25 +0200 |
commit | 62af9b520513d78484f22f874916dfacbc889ce0 (patch) | |
tree | e5c13d868166380105c3d491b8d380fe220e6484 /fs/quota/Kconfig | |
parent | quota: Fix possible dq_flags corruption (diff) | |
download | linux-62af9b520513d78484f22f874916dfacbc889ce0.tar.xz linux-62af9b520513d78484f22f874916dfacbc889ce0.zip |
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/Kconfig | 8 |
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 |