From: anserper Date: Mon, 15 Sep 2008 20:32:10 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_100~1^292~1 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d5b9fb2e8b9338523bd5a101be477dac776346b0;p=fs%2Flustre-release.git Branch b1_8_gate b=16935 i=Johann Lombardi i=Alexey Lyashkov several swabbing fixes --- diff --git a/lustre/mds/mds_reint.c b/lustre/mds/mds_reint.c index 4c7656c..a4a9e05b8 100644 --- a/lustre/mds/mds_reint.c +++ b/lustre/mds/mds_reint.c @@ -800,7 +800,7 @@ static int mds_reint_setattr(struct mds_update_record *rec, int offset, lum->lmm_stripe_offset == (typeof(lum->lmm_stripe_offset))(-1) && lum->lmm_stripe_count == 0 && - lum->lmm_magic != LOV_USER_MAGIC_V3)){ + le32_to_cpu(lum->lmm_magic) != LOV_USER_MAGIC_V3)){ rc = fsfilt_set_md(obd, inode, handle, NULL, 0, "lov"); if (rc) GOTO(cleanup, rc);