Skip to contentSkip to conversation

linux-2.6.16-git2: compile error in reiserfs

DISCUSSION Gregor Jasny 2 participants 2 messages Feb 3, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 7 lines · Gregor Jasny

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

Quoted 9 lines

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

---

 include/linux/reiserfs_acl.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/reiserfs_acl.h +1 -1
@@ -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)