Whamcloud - gitweb
LU-36 mdd: cache lu_attr to avoid duplicate fetch
[fs/lustre-release.git] / lustre / obdclass / acl.c
index b16289c..e7b986c 100644 (file)
@@ -100,7 +100,7 @@ static inline void lustre_posix_acl_cpu_to_le(posix_acl_xattr_entry *d,
 /*
  * Check permission based on POSIX ACL.
  */
-int lustre_posix_acl_permission(struct lu_ucred *mu, struct lu_attr *la,
+int lustre_posix_acl_permission(struct lu_ucred *mu, const struct lu_attr *la,
                                int want, posix_acl_xattr_entry *entry,
                                int count)
 {