Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc5e483d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

[PATCH] reiserfs_get_acl() build fix



With CONFIG_REISERFS_FS_XATTR=y, CONFIG_REISERFS_FS_POSIX_ACL=n:

fs/reiserfs/xattr.c: In function `reiserfs_check_acl':
fs/reiserfs/xattr.c:1330: called object is not a function

Cc: Chris Mason <mason@suse.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 165a2c1d
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -58,9 +58,13 @@ extern struct reiserfs_xattr_handler posix_acl_default_handler;
extern struct reiserfs_xattr_handler posix_acl_access_handler;
extern struct reiserfs_xattr_handler posix_acl_access_handler;
#else
#else


#define reiserfs_get_acl NULL
#define reiserfs_cache_default_acl(inode) 0
#define reiserfs_cache_default_acl(inode) 0


static inline struct posix_acl *reiserfs_get_acl(struct inode *inode, int type)
{
	return NULL;
}

static inline int reiserfs_xattr_posix_acl_init(void)
static inline int reiserfs_xattr_posix_acl_init(void)
{
{
	return 0;
	return 0;