From 523937fe4777b75b8138c06e874a6e5d0ccf829f Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 12 Feb 2004 10:29:25 +0000 Subject: [PATCH] Fix obvious cut-n-paste error in lov_brw_check() (would only be noticable during OSC failure). --- 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 0f5715b..64b6a28 100644 --- a/lustre/lov/lov_obd.c +++ b/lustre/lov/lov_obd.c @@ -1332,7 +1332,7 @@ static int lov_brw_check(struct lov_obd *lov, struct lov_stripe_md *lsm, int ost = lsm->lsm_oinfo[stripe].loi_ost_idx; struct ldlm_extent ext, subext; ext.start = pga[i].off; - ext.start = pga[i].off + pga[i].count; + ext.end = pga[i].off + pga[i].count; if (!lov_stripe_intersects(lsm, i, ext.start, ext.end, &subext.start, &subext.end)) -- 1.8.3.1