From: wangdi Date: Mon, 2 Oct 2006 06:47:18 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v1_8_0_110~486^2~737 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=dbd483f146fecaa1647d849874505a45378790b2;p=fs%2Flustre-release.git *** empty log message *** --- diff --git a/lustre/lov/lov_qos.c b/lustre/lov/lov_qos.c index 16ed41203..a5e2229 100644 --- a/lustre/lov/lov_qos.c +++ b/lustre/lov/lov_qos.c @@ -354,6 +354,7 @@ static int qos_calc_rr(struct lov_obd *lov) list_for_each_entry(oss, &lov->lov_qos.lq_oss_list, lqo_oss_list) { int j = 0; for (i = 0; i < ost_count; i++) { + LASSERT(lov->lov_tgts[i] != NULL); if (lov->lov_tgts[i]->ltd_qos.ltq_oss == oss) { /* Evenly space these OSTs across arrayspace */ int next = j * ost_count / oss->lqo_ost_count;