Commit 16ebe911eba8afa88879213dc4388f2dd701561e

Authored by Randy Dunlap
Committed by Al Viro
1 parent 3bc0ba4305

fs: FS_POSIX_ACL does not depend on BLOCK

- Fix a kconfig unmet dependency warning.
- Remove 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>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Showing 1 changed file with 8 additions and 9 deletions Side-by-side Diff

... ... @@ -30,15 +30,6 @@
30 30 source "fs/reiserfs/Kconfig"
31 31 source "fs/jfs/Kconfig"
32 32  
33   -config FS_POSIX_ACL
34   -# Posix ACL utility routines (for now, only ext2/ext3/jfs/reiserfs/nfs4)
35   -#
36   -# NOTE: you can implement Posix ACLs without these helpers (XFS does).
37   -# Never use this symbol for ifdefs.
38   -#
39   - bool
40   - default n
41   -
42 33 source "fs/xfs/Kconfig"
43 34 source "fs/gfs2/Kconfig"
44 35 source "fs/ocfs2/Kconfig"
... ... @@ -46,6 +37,14 @@
46 37 source "fs/nilfs2/Kconfig"
47 38  
48 39 endif # BLOCK
  40 +
  41 +# Posix ACL utility routines
  42 +#
  43 +# Note: Posix ACLs can be implemented without these helpers. Never use
  44 +# this symbol for ifdefs in core code.
  45 +#
  46 +config FS_POSIX_ACL
  47 + def_bool n
49 48  
50 49 config EXPORTFS
51 50 tristate