Bug 6016

Summary: reiserfs doesn't build with REISERFS_FS_POSIX_ACL=n
Product: File System Reporter: Lukas Sandstr (kernel-bugzilla)
Component: ReiserFSAssignee: ReiseFS developers team (reiserfs-devel)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: bunk
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: v2.6.16-rc2-g5b7b644 Subsystem:
Regression: --- Bisected commit-id:

Description Lukas Sandstr 2006-02-05 08:26:43 UTC
Most recent kernel where this bug did not occur: 2.6.16-rc1
Distribution: Gentoo
Hardware Environment: amd64
Problem Description:

reiserfs doesn't build with REISERFS_FS_POSIX_ACL=n

Steps to reproduce:
$ make
  CHK     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  GZIP    kernel/config_data.gz
  IKCFG   kernel/config_data.h
  CC      kernel/configs.o
  LD      kernel/built-in.o
  CC      fs/reiserfs/xattr.o
fs/reiserfs/xattr.c: In function `reiserfs_check_acl':
fs/reiserfs/xattr.c:1330: error: called object is not a function
make[2]: *** [fs/reiserfs/xattr.o] Error 1
make[1]: *** [fs/reiserfs] Error 2
make: *** [fs] Error 2

Reverting ec191574b9c3cb7bfb95e4f803b63f7c8dc52690
---
[PATCH] reiserfs: use generic_permission
    
Use the generic_permission code with a proper wrapper and callback instead
of having a local copy.
---
fixes the problem, but causes some warnings about unused symbols.
Comment 1 Adrian Bunk 2006-02-11 05:58:23 UTC
Thanks for your report.

A patch to fix this bug went into Linus' tree.