reiserfs: fixup perms when xattrs are disabled
authorJeff Mahoney <jeffm@suse.com>
Sun, 17 May 2009 05:02:03 +0000 (01:02 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 17 May 2009 18:45:45 +0000 (11:45 -0700)
commitb83674c0da6558e357c6b482ccf299eeea77d8ef
tree22f71c1f3f099887b53884a9cabbb6aaeb3bc0a6
parentceb5edc457f07956c82dccfb54ca8ae7e2a399f0
reiserfs: fixup perms when xattrs are disabled

This adds CONFIG_REISERFS_FS_XATTR protection from reiserfs_permission.

This is needed to avoid warnings during file deletions and chowns with
xattrs disabled.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/xattr.c
include/linux/reiserfs_xattr.h