linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs: FS_POSIX_ACL does not depend on BLOCK
@ 2011-01-02  6:17 Randy Dunlap
  2011-01-02  6:29 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2011-01-02  6:17 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: akpm, viro

From: Randy Dunlap <randy.dunlap@oracle.com>

- Fix a kconfig unmet dependency warning.
- Update the comment that identifies which filesystems use POSIX ACL
  utility routines.
- Move the FS_POSIX_ACL symbol outside of the BLOCK symbol if/endif block
  because its functions do not depend on BLOCK and some of the filesystems
  that use it do not depend on BLOCK.

warning: (GENERIC_ACL && JFFS2_FS_POSIX_ACL && NFSD_V4 && NFS_ACL_SUPPORT && 9P_FS_POSIX_ACL) selects FS_POSIX_ACL which has unmet direct dependencies (BLOCK)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
---
 fs/Kconfig |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

--- linux-next-20101231.orig/fs/Kconfig
+++ linux-next-20101231/fs/Kconfig
@@ -30,15 +30,6 @@ config FS_MBCACHE
 source "fs/reiserfs/Kconfig"
 source "fs/jfs/Kconfig"
 
-config FS_POSIX_ACL
-# Posix ACL utility routines (for now, only ext2/ext3/jfs/reiserfs/nfs4)
-#
-# NOTE: you can implement Posix ACLs without these helpers (XFS does).
-# 	Never use this symbol for ifdefs.
-#
-	bool
-	default n
-
 source "fs/xfs/Kconfig"
 source "fs/gfs2/Kconfig"
 source "fs/ocfs2/Kconfig"
@@ -47,6 +38,15 @@ source "fs/nilfs2/Kconfig"
 
 endif # BLOCK
 
+config FS_POSIX_ACL
+# Posix ACL utility routines
+# (for now, ext2/ext3/ext4/jfs/jffs2/reiserfs/xfs/btrfs/gfs2/ocfs2/nfs4/9p)
+#
+# NOTE: you can implement Posix ACLs without these helpers.
+# 	Never use this symbol for ifdefs.
+#
+	def_bool n
+
 config EXPORTFS
 	tristate
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-02 22:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-02  6:17 [PATCH] fs: FS_POSIX_ACL does not depend on BLOCK Randy Dunlap
2011-01-02  6:29 ` Christoph Hellwig
2011-01-02  9:39   ` Marco Stornelli
2011-01-02 22:44     ` [PATCH v2] " Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).