From: adilger Date: Wed, 23 Feb 2005 23:25:37 +0000 (+0000) Subject: Branch: b1_4 X-Git-Tag: v1_8_0_110~486^5~12 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=c66248f8e8b6c1570c73083c0d0319de3249490f;p=fs%2Flustre-release.git Branch: b1_4 Something I noticed when looking at the OST AMD patch. We should check the "ost" index and not the "stripe" index. --- diff --git a/lustre/lov/lov_obd.c b/lustre/lov/lov_obd.c index dc6ce4f..70e9690 100644 --- a/lustre/lov/lov_obd.c +++ b/lustre/lov/lov_obd.c @@ -863,7 +863,7 @@ static int lov_brw_check(struct lov_obd *lov, struct obdo *oa, CDEBUG(D_HA, "lov idx %d inactive\n", ost); return -EIO; } - rc = obd_brw(OBD_BRW_CHECK, lov->tgts[stripe].ltd_exp, oa, + rc = obd_brw(OBD_BRW_CHECK, lov->tgts[ost].ltd_exp, oa, NULL, 1, &pga[i], NULL); if (rc) break;