aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/llite/xattr.c
diff options
context:
space:
mode:
authorPeng Tao <bergwolf@gmail.com>2013-07-15 22:27:13 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-23 12:24:03 -0700
commit9147dc8d54a1c15f407aca3beeae5797d0b47d1b (patch)
treed3de5142bfb32499a49fcb880fcd79359d5ec408 /drivers/staging/lustre/lustre/llite/xattr.c
parentstaging/lustre/llite: add missing include file for prefetchw (diff)
downloadlinux-dev-9147dc8d54a1c15f407aca3beeae5797d0b47d1b.tar.xz
linux-dev-9147dc8d54a1c15f407aca3beeae5797d0b47d1b.zip
staging/lustre/llite: fix build erorr if CONFIG_FS_POSIX_ACL is off
Signed-off-by: Peng Tao <tao.peng@emc.com> Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/llite/xattr.c')
-rw-r--r--drivers/staging/lustre/lustre/llite/xattr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/llite/xattr.c b/drivers/staging/lustre/lustre/llite/xattr.c
index 4176264984bb..0a11902c4d2b 100644
--- a/drivers/staging/lustre/lustre/llite/xattr.c
+++ b/drivers/staging/lustre/lustre/llite/xattr.c
@@ -112,9 +112,11 @@ int ll_setxattr_common(struct inode *inode, const char *name,
struct ptlrpc_request *req;
int xattr_type, rc;
struct obd_capa *oc;
+#ifdef CONFIG_FS_POSIX_ACL
posix_acl_xattr_header *new_value = NULL;
struct rmtacl_ctl_entry *rce = NULL;
ext_acl_xattr_header *acl = NULL;
+#endif
const char *pv = value;
ENTRY;