Whamcloud - gitweb
add missing part of bug 13285 to HEAD.
authorshadow <shadow>
Mon, 19 May 2008 07:11:58 +0000 (07:11 +0000)
committershadow <shadow>
Mon, 19 May 2008 07:11:58 +0000 (07:11 +0000)
this part already exist in 1.6 but lost in HEAD.

lustre/lov/lov_qos.c

index aa3f288..f3b9040 100644 (file)
@@ -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;