From: shadow Date: Mon, 19 May 2008 07:11:58 +0000 (+0000) Subject: add missing part of bug 13285 to HEAD. X-Git-Tag: v1_9_50~482 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6b7ea8bf5fb10058bd0743ade1d2db66821dc821;p=fs%2Flustre-release.git add missing part of bug 13285 to HEAD. this part already exist in 1.6 but lost in HEAD. --- diff --git a/lustre/lov/lov_qos.c b/lustre/lov/lov_qos.c index aa3f288..f3b9040 100644 --- a/lustre/lov/lov_qos.c +++ b/lustre/lov/lov_qos.c @@ -859,7 +859,7 @@ int qos_prep_create(struct obd_export *exp, struct lov_request_set *set) struct obdo *src_oa = set->set_oi->oi_oa; struct obd_trans_info *oti = set->set_oti; int i, stripes, rc = 0, newea = 0; - int *idx_arr, idx_cnt = 0; + int *idx_arr = NULL, idx_cnt = 0; int flag = LOV_USES_ASSIGNED_STRIPE; ENTRY;