Whamcloud - gitweb
LU-5519 lfsck: LFSCK code framework adjustment (2)
[fs/lustre-release.git] / lustre / lmv / lmv_intent.c
index 08592bf..41f36df 100644 (file)
@@ -416,7 +416,7 @@ lmv_intent_lookup(struct obd_export *exp, struct md_op_data *op_data,
 
        /* Both migrating dir and unknown hash dir need to try
         * all of sub-stripes */
-       if (lsm != NULL && !lmv_is_known_hash_type(lsm)) {
+       if (lsm != NULL && !lmv_is_known_hash_type(lsm->lsm_md_hash_type)) {
                struct lmv_oinfo *oinfo;
 
                oinfo = &lsm->lsm_md_oinfo[0];