Whamcloud - gitweb
LU-5691 hsm: remove a request from the index if not present in the store
[fs/lustre-release.git] / lustre / include / lustre_eacl.h
index 84b2624..c8dbdb9 100644 (file)
@@ -49,8 +49,8 @@
  */
 
 #ifdef CONFIG_FS_POSIX_ACL
-
-#include <linux/posix_acl_xattr.h>
+# include <linux/fs.h>
+# include <linux/posix_acl_xattr.h>
 
 typedef struct {
         __u16                   e_tag;
@@ -75,9 +75,10 @@ struct lu_ucred;
 struct lu_attr;
 struct lustre_idmap_table;
 
-extern int lustre_posix_acl_permission(struct lu_ucred *mu, struct lu_attr *la,
-                                      int want, posix_acl_xattr_entry *entry,
-                                      int count);
+extern int lustre_posix_acl_permission(struct lu_ucred *mu,
+                                       const struct lu_attr *la, int want,
+                                       posix_acl_xattr_entry *entry,
+                                       int count);
 extern int lustre_posix_acl_chmod_masq(posix_acl_xattr_entry *entry,
                                        __u32 mode, int count);
 extern int lustre_posix_acl_create_masq(posix_acl_xattr_entry *entry,