From 6b7ea8bf5fb10058bd0743ade1d2db66821dc821 Mon Sep 17 00:00:00 2001
From: shadow <shadow>
Date: Mon, 19 May 2008 07:11:58 +0000
Subject: [PATCH] add missing part of bug 13285 to HEAD. this part already
 exist in 1.6 but lost in HEAD.

---
 lustre/lov/lov_qos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/lov/lov_qos.c b/lustre/lov/lov_qos.c
index aa3f288d62..f3b9040e24 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;
 
-- 
GitLab