Re: linux-2.6.16-git2: compile error in reiserfs

From: Alexey Dobriyan
Date: Fri Feb 03 2006 - 15:24:22 EST


On Fri, Feb 03, 2006 at 08:43:45PM +0100, Gregor Jasny wrote:
> CC [M] fs/reiserfs/xattr.o
> fs/reiserfs/xattr.c: In function 'reiserfs_check_acl':
> fs/reiserfs/xattr.c:1330: error: called object '0u' is not a function
> make[2]: *** [fs/reiserfs/xattr.o] Error 1
> make[1]: *** [fs/reiserfs] Error 2
> make: *** [fs] Error 2
>
> Part of my config:
> CONFIG_REISERFS_FS=m
> # CONFIG_REISERFS_CHECK is not set
> # CONFIG_REISERFS_PROC_INFO is not set
> CONFIG_REISERFS_FS_XATTR=y
> # CONFIG_REISERFS_FS_POSIX_ACL is not set
> # CONFIG_REISERFS_FS_SECURITY is not set
> # CONFIG_JFS_FS is not set
> CONFIG_FS_POSIX_ACL=y

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

include/linux/reiserfs_acl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/include/linux/reiserfs_acl.h
+++ b/include/linux/reiserfs_acl.h
@@ -58,7 +58,7 @@ extern struct reiserfs_xattr_handler pos
extern struct reiserfs_xattr_handler posix_acl_access_handler;
#else

-#define reiserfs_get_acl NULL
+#define reiserfs_get_acl(inode, type) NULL
#define reiserfs_cache_default_acl(inode) 0

static inline int reiserfs_xattr_posix_acl_init(void)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/