#define _LUSTRE_LINUX_ACL_H
#ifndef _LUSTRE_ACL_H
-#error Shoud not include direectly. use #include <lustre/lustre_acl.h> instead
+#error Shoud not include direectly. use #include <lustre_acl.h> instead
#endif
#ifdef __KERNEL__
# ifndef HAVE_VFS_INTENT_PATCHES
# include <linux/lustre_intent.h>
# endif
+/* XATTR_{REPLACE,CREATE} */
+#include <linux/xattr.h>
#endif /* __KERNEL__ */
/* ACL */