From d5b9fb2e8b9338523bd5a101be477dac776346b0 Mon Sep 17 00:00:00 2001 From: anserper Date: Mon, 15 Sep 2008 20:32:10 +0000 Subject: [PATCH] Branch b1_8_gate b=16935 i=Johann Lombardi i=Alexey Lyashkov several swabbing fixes --- lustre/mds/mds_reint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1