* [PATCH] New fs-specific Kconfig options should go in fs/$FS/Kconfig, not fs/Kconfig.
@ 2009-02-04 2:58 Jeff Mahoney
2009-02-04 18:59 ` Chris Mason
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Mahoney @ 2009-02-04 2:58 UTC (permalink / raw)
To: Btrfs Development List; +Cc: Jeff Mahoney
Commit 699b6faa2ab283219914501d5117f8a93c7e441b allowed btrfs ACLs to
be selectable, but put the option in the main fs/Kconfig, and didn't
make it depend on btrfs.
This patch moves the option and adds the dependency.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
fs/Kconfig | 13 -------------
fs/btrfs/Kconfig | 15 +++++++++++++++
2 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/fs/Kconfig b/fs/Kconfig
index 6198082..ef81718 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -51,19 +51,6 @@ source "fs/xfs/Kconfig"
source "fs/gfs2/Kconfig"
source "fs/ocfs2/Kconfig"
source "fs/btrfs/Kconfig"
-
-config BTRFS_FS_POSIX_ACL
- bool "Btrfs POSIX Access Control Lists"
- select FS_POSIX_ACL
- help
- POSIX Access Control Lists (ACLs) support permissions for users and
- groups beyond the owner/group/world scheme.
-
- To learn more about Access Control Lists, visit the POSIX ACLs for
- Linux website <http://acl.bestbits.at/>.
-
- If you don't know what Access Control Lists are, say N
-
endif # BLOCK
source "fs/notify/Kconfig"
diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig
index f8fcf99..42e91e3 100644
--- a/fs/btrfs/Kconfig
+++ b/fs/btrfs/Kconfig
@@ -16,3 +16,18 @@ config BTRFS_FS
module will be called btrfs.
If unsure, say N.
+
+config BTRFS_FS_POSIX_ACL
+ bool "Btrfs POSIX Access Control Lists"
+ depends on BTRFS_FS
+ select FS_POSIX_ACL
+ help
+ POSIX Access Control Lists (ACLs) support permissions for users and
+ groups beyond the owner/group/world scheme.
+
+ To learn more about Access Control Lists, visit the POSIX ACLs for
+ Linux website <http://acl.bestbits.at/>.
+
+ If you don't know what Access Control Lists are, say N
+
+
--
1.6.0.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] New fs-specific Kconfig options should go in fs/$FS/Kconfig, not fs/Kconfig.
2009-02-04 2:58 [PATCH] New fs-specific Kconfig options should go in fs/$FS/Kconfig, not fs/Kconfig Jeff Mahoney
@ 2009-02-04 18:59 ` Chris Mason
0 siblings, 0 replies; 2+ messages in thread
From: Chris Mason @ 2009-02-04 18:59 UTC (permalink / raw)
To: Jeff Mahoney; +Cc: Btrfs Development List, Jeff Mahoney
On Tue, 2009-02-03 at 21:58 -0500, Jeff Mahoney wrote:
> Commit 699b6faa2ab283219914501d5117f8a93c7e441b allowed btrfs ACLs to
> be selectable, but put the option in the main fs/Kconfig, and didn't
> make it depend on btrfs.
>
> This patch moves the option and adds the dependency.
>
FYI, I did merge this but folded it into the original ACL patch. I
rebased the tree because Yan found a bug that could cause corruption
during btrfs-vol -b processing.
So, if you've pulled the unstable tree, you'll want to pull again and
git gc
-chris
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-04 18:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 2:58 [PATCH] New fs-specific Kconfig options should go in fs/$FS/Kconfig, not fs/Kconfig Jeff Mahoney
2009-02-04 18:59 ` Chris Mason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox