Whamcloud - gitweb
LU-3669 xattr: separate ACL and XATTR caches
[fs/lustre-release.git] / lustre / mdc / mdc_reint.c
index 6358ff7..b28b332 100644 (file)
@@ -70,7 +70,7 @@ static int mdc_reint(struct ptlrpc_request *request,
 /* Find and cancel locally locks matched by inode @bits & @mode in the resource
  * found by @fid. Found locks are added into @cancel list. Returns the amount of
  * locks added to @cancels list. */
-int mdc_resource_get_unused(struct obd_export *exp, struct lu_fid *fid,
+int mdc_resource_get_unused(struct obd_export *exp, const struct lu_fid *fid,
                             cfs_list_t *cancels, ldlm_mode_t mode,
                             __u64 bits)
 {