From 06511698db410d5ee637a232d2c74c98b5844fad Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Wed, 28 Mar 2012 13:21:51 -0700
Subject: [PATCH] BGQ - if a small block isn't found in the state file
 correctly set the ionode_str

---
 src/plugins/select/bluegene/bl_bgq/bridge_linker.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc b/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc
index 5e68085e35b..0a861704a5c 100644
--- a/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc
+++ b/src/plugins/select/bluegene/bl_bgq/bridge_linker.cc
@@ -143,8 +143,8 @@ static bg_record_t * _translate_object_to_block(const Block::Ptr &block_ptr)
 		bit_nset(bg_record->ionode_bitmap,
 			 io_start, io_start+io_cnt);
 		bit_fmt(bitstring, BITSIZE, bg_record->ionode_bitmap);
-		bg_record->ionode_str = xstrdup(bitstring);
-		debug3("%s uses ionodes %s",
+		ba_set_ionode_str(bg_record);
+		debug3("%s uses cnodes %s",
 		       bg_record->bg_block_id,
 		       bg_record->ionode_str);
 		bg_record->conn_type[0] = SELECT_SMALL;
-- 
GitLab