From c66248f8e8b6c1570c73083c0d0319de3249490f Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 23 Feb 2005 23:25:37 +0000 Subject: [PATCH] Branch: b1_4 Something I noticed when looking at the OST AMD patch. We should check the "ost" index and not the "stripe" index. --- lustre/lov/lov_obd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1