Re: [PATCH 4/8] Keep startup mode in sync when specified in config file

2011-06-28 Thread Hannes Reinecke
On 06/28/2011 06:44 AM, Mike Christie wrote: On 06/21/2011 04:23 AM, Hannes Reinecke wrote: When the startup mode has been specified in iscsid.conf it needs to be kept in sync for both settings, 'node.startup' and 'node.conn[0].startup'. References: bnc#458142 Signed-off-by: Hannes

Re: [PATCH 4/8] Keep startup mode in sync when specified in config file

2011-06-27 Thread Mike Christie
On 06/21/2011 04:23 AM, Hannes Reinecke wrote: When the startup mode has been specified in iscsid.conf it needs to be kept in sync for both settings, 'node.startup' and 'node.conn[0].startup'. References: bnc#458142 Signed-off-by: Hannes Reinecke h...@suse.de --- usr/idbm.c | 25

Re: [PATCH 4/8] Keep startup mode in sync when specified in config file

2011-06-26 Thread Mike Christie
On 06/21/2011 04:23 AM, Hannes Reinecke wrote: + if (node_startup_value !conn_startup_value) { + (void)idbm_rec_update_param(info, node.conn[0].startup, + node_startup_value, -1); + free(node_startup_value); + } +