X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Flfsck%2Flfsck_striped_dir.c;h=854504d7602563348021973937e296d3e4484591;hb=3274e573957e8b8a067ae28c3f7d7788d40f310e;hp=2e7bef73e8061908695f504cd2000bea578e55da;hpb=84a70d296c68cea9da9dc5502022121798fe5cd7;p=fs%2Flustre-release.git diff --git a/lustre/lfsck/lfsck_striped_dir.c b/lustre/lfsck/lfsck_striped_dir.c index 2e7bef7..854504d 100644 --- a/lustre/lfsck/lfsck_striped_dir.c +++ b/lustre/lfsck/lfsck_striped_dir.c @@ -979,7 +979,7 @@ static inline bool lfsck_name_hash_match(struct lmv_mds_md_v1 *lmv, if (idx == lmv->lmv_master_mdt_index) return true; - if (!(lmv->lmv_hash_type & LMV_HASH_FLAG_LAYOUT_CHANGE)) + if (!lmv_hash_is_layout_changing(lmv->lmv_hash_type)) return false; idx = lmv_name_to_stripe_index(lmv, name, namelen);