summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-07-30 08:45:06 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-30 08:45:06 +0200
commit983236b5741e557451f3ed4ec5ebf1f62a5b2c15 (patch)
tree2b9872f659ac73df93fdaeca4d37654a5a84d4fc
parentMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs... (diff)
parentxfs: Fix build breakage in xfs_iops.c when CONFIG_FS_POSIX_ACL is not set (diff)
downloadlinux-983236b5741e557451f3ed4ec5ebf1f62a5b2c15.tar.xz
linux-983236b5741e557451f3ed4ec5ebf1f62a5b2c15.zip
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
* 'for-linus' of git://oss.sgi.com/xfs/xfs: xfs: Fix build breakage in xfs_iops.c when CONFIG_FS_POSIX_ACL is not set
-rw-r--r--fs/xfs/xfs_acl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/xfs/xfs_acl.h b/fs/xfs/xfs_acl.h
index 2c656ef49473..39632d941354 100644
--- a/fs/xfs/xfs_acl.h
+++ b/fs/xfs/xfs_acl.h
@@ -51,7 +51,10 @@ extern int posix_acl_default_exists(struct inode *inode);
extern const struct xattr_handler xfs_xattr_acl_access_handler;
extern const struct xattr_handler xfs_xattr_acl_default_handler;
#else
-# define xfs_get_acl(inode, type) NULL
+static inline struct posix_acl *xfs_get_acl(struct inode *inode, int type)
+{
+ return NULL;
+}
# define xfs_inherit_acl(inode, default_acl) 0
# define xfs_acl_chmod(inode) 0
# define posix_acl_access_exists(inode) 0