From: adilger Date: Thu, 12 Feb 2004 10:29:25 +0000 (+0000) Subject: Fix obvious cut-n-paste error in lov_brw_check() (would only be noticable X-Git-Tag: v1_7_100~2596 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=523937fe4777b75b8138c06e874a6e5d0ccf829f Fix obvious cut-n-paste error in lov_brw_check() (would only be noticable during OSC failure). --- 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))