2006-02-03 19:43:49

by Gregor Jasny

[permalink] [raw]
Subject: linux-2.6.16-git2: compile error in reiserfs

Hi,

2.6.16-git2 does not compile with my config:

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

Please contact me if you need more information.

Gregor


2006-02-03 20:26:07

by Alexey Dobriyan

[permalink] [raw]
Subject: Re: linux-2.6.16-git2: compile error in reiserfs

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 <[email protected]>
---

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)