Skip to content

Commit

Permalink
quota: Make QUOTACTL config be selected by its users
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Kara committed Oct 5, 2010
1 parent c6ea21e commit 80f44b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/quota/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

config QUOTA
bool "Quota support"
select QUOTACTL
help
If you say Y here, you will be able to set per user limits for disk
usage (also called disk quotas). Currently, it works for the
Expand Down Expand Up @@ -65,8 +66,7 @@ config QFMT_V2

config QUOTACTL
bool
depends on XFS_QUOTA || QUOTA
default y
default n

config QUOTACTL_COMPAT
bool
Expand Down
1 change: 1 addition & 0 deletions fs/xfs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config XFS_FS
config XFS_QUOTA
bool "XFS Quota support"
depends on XFS_FS
select QUOTACTL
help
If you say Y here, you will be able to set limits for disk usage on
a per user and/or a per group basis under XFS. XFS considers quota
Expand Down

0 comments on commit 80f44b1

Please sign in to comment.