Whamcloud - gitweb
LU-13437 mdt: don't fetch LOOKUP lock for remote object
[fs/lustre-release.git] / lustre / lmv / lmv_obd.c
index f5d4ecf..1f470b3 100644 (file)
@@ -3552,6 +3552,7 @@ int lmv_quotactl(struct obd_device *unused, struct obd_export *exp,
 }
 
 static int lmv_merge_attr(struct obd_export *exp,
+                         const struct lu_fid *fid,
                          const struct lmv_stripe_md *lsm,
                          struct cl_attr *attr,
                          ldlm_blocking_callback cb_blocking)
@@ -3562,7 +3563,7 @@ static int lmv_merge_attr(struct obd_export *exp,
        if (!lmv_dir_striped(lsm))
                return 0;
 
-       rc = lmv_revalidate_slaves(exp, lsm, cb_blocking, 0);
+       rc = lmv_revalidate_slaves(exp, fid, lsm, cb_blocking, 0);
        if (rc < 0)
                return rc;