diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2006-10-20 02:28:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-20 13:26:38 -0400 |
commit | f2fbc6c2dad7bbcbf226c094749534f1e84d3be2 (patch) | |
tree | 23b6702a9386fa4ee331e763477a802660448e5e | |
parent | d6f8ff7381501887233666b508b9eac70143303d (diff) |
[PATCH] fs/Kconfig: move GENERIC_ACL, fix acl() call errors
GENERIC_ACL shouldn't be under Network File Systems (which made it depend
on NET) as far as I can tell. Having it there and having many (FS) config
symbols disabled gives this (which the patch fixes):
mm/built-in.o: In function `shmem_check_acl':
shmem_acl.c:(.text.shmem_check_acl+0x33): undefined reference to `posix_acl_permission'
fs/built-in.o: In function `generic_acl_get':
(.text.generic_acl_get+0x30): undefined reference to `posix_acl_to_xattr'
fs/built-in.o: In function `generic_acl_set':
(.text.generic_acl_set+0x75): undefined reference to `posix_acl_from_xattr'
fs/built-in.o: In function `generic_acl_set':
(.text.generic_acl_set+0x94): undefined reference to `posix_acl_valid'
fs/built-in.o: In function `generic_acl_set':
(.text.generic_acl_set+0xc1): undefined reference to `posix_acl_equiv_mode'
fs/built-in.o: In function `generic_acl_init':
(.text.generic_acl_init+0x7a): undefined reference to `posix_acl_clone'
fs/built-in.o: In function `generic_acl_init':
(.text.generic_acl_init+0xb4): undefined reference to `posix_acl_clone'
fs/built-in.o: In function `generic_acl_init':
(.text.generic_acl_init+0xc8): undefined reference to `posix_acl_create_masq'
fs/built-in.o: In function `generic_acl_chmod':
(.text.generic_acl_chmod+0x49): undefined reference to `posix_acl_clone'
fs/built-in.o: In function `generic_acl_chmod':
(.text.generic_acl_chmod+0x76): undefined reference to `posix_acl_chmod_masq'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | fs/Kconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index 6a3df055280a..fee318e6f4bb 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -634,6 +634,10 @@ config FUSE_FS | |||
634 | If you want to develop a userspace FS, or if you want to use | 634 | If you want to develop a userspace FS, or if you want to use |
635 | a filesystem based on FUSE, answer Y or M. | 635 | a filesystem based on FUSE, answer Y or M. |
636 | 636 | ||
637 | config GENERIC_ACL | ||
638 | bool | ||
639 | select FS_POSIX_ACL | ||
640 | |||
637 | if BLOCK | 641 | if BLOCK |
638 | menu "CD-ROM/DVD Filesystems" | 642 | menu "CD-ROM/DVD Filesystems" |
639 | 643 | ||
@@ -2080,10 +2084,6 @@ config 9P_FS | |||
2080 | 2084 | ||
2081 | If unsure, say N. | 2085 | If unsure, say N. |
2082 | 2086 | ||
2083 | config GENERIC_ACL | ||
2084 | bool | ||
2085 | select FS_POSIX_ACL | ||
2086 | |||
2087 | endmenu | 2087 | endmenu |
2088 | 2088 | ||
2089 | if BLOCK | 2089 | if BLOCK |