Whamcloud - gitweb
fix warning
authornathan <nathan>
Fri, 31 Aug 2007 17:50:13 +0000 (17:50 +0000)
committernathan <nathan>
Fri, 31 Aug 2007 17:50:13 +0000 (17:50 +0000)
lustre/lov/lov_qos.c

index 8f89e0d..cb102eb 100644 (file)
@@ -829,7 +829,7 @@ int qos_prep_create(struct obd_export *exp, struct lov_request_set *set)
         struct obd_trans_info *oti = set->set_oti;
         int i, stripes, rc = 0, newea = 0;
         int flag = LOV_USES_ASSIGNED_STRIPE;
-        int *idx_arr, idx_cnt = 0;
+        int *idx_arr = NULL, idx_cnt = 0;
         ENTRY;
 
         LASSERT(src_oa->o_valid & OBD_MD_FLID);