diff options
author | Jan Kara <jack@suse.cz> | 2010-08-17 06:14:44 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-10-05 06:16:37 -0400 |
commit | 80f44b152c889e592616adf0d33b856107f4bace (patch) | |
tree | 432867c97f855e57a023bbf13c4c81e700393448 | |
parent | c6ea21e35bf3691cad59647c771e6606067f627d (diff) |
quota: Make QUOTACTL config be selected by its users
Remove "depends on" line from QUOTACTL config option and rather select
the option explicitely from config options which need it. It makes more
sense this way and also fixes Kconfig warning due to GFS2 selecting
QUOTACTL but QUOTACTL not depending on it.
Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r-- | fs/quota/Kconfig | 4 | ||||
-rw-r--r-- | fs/xfs/Kconfig | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/fs/quota/Kconfig b/fs/quota/Kconfig index 3e21b1e2ad3a..880fd9884366 100644 --- a/fs/quota/Kconfig +++ b/fs/quota/Kconfig | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | config QUOTA | 5 | config QUOTA |
6 | bool "Quota support" | 6 | bool "Quota support" |
7 | select QUOTACTL | ||
7 | help | 8 | help |
8 | If you say Y here, you will be able to set per user limits for disk | 9 | If you say Y here, you will be able to set per user limits for disk |
9 | usage (also called disk quotas). Currently, it works for the | 10 | usage (also called disk quotas). Currently, it works for the |
@@ -65,8 +66,7 @@ config QFMT_V2 | |||
65 | 66 | ||
66 | config QUOTACTL | 67 | config QUOTACTL |
67 | bool | 68 | bool |
68 | depends on XFS_QUOTA || QUOTA | 69 | default n |
69 | default y | ||
70 | 70 | ||
71 | config QUOTACTL_COMPAT | 71 | config QUOTACTL_COMPAT |
72 | bool | 72 | bool |
diff --git a/fs/xfs/Kconfig b/fs/xfs/Kconfig index 480f28127f09..6100ec0fa1d4 100644 --- a/fs/xfs/Kconfig +++ b/fs/xfs/Kconfig | |||
@@ -22,6 +22,7 @@ config XFS_FS | |||
22 | config XFS_QUOTA | 22 | config XFS_QUOTA |
23 | bool "XFS Quota support" | 23 | bool "XFS Quota support" |
24 | depends on XFS_FS | 24 | depends on XFS_FS |
25 | select QUOTACTL | ||
25 | help | 26 | help |
26 | If you say Y here, you will be able to set limits for disk usage on | 27 | If you say Y here, you will be able to set limits for disk usage on |
27 | a per user and/or a per group basis under XFS. XFS considers quota | 28 | a per user and/or a per group basis under XFS. XFS considers quota |