From: Lee Duncan <ldun...@suse.com>

This patch allows iser transport to be used for the discovery
daemon. Otherwise, iscsid core dumps when attempting this.
---
 usr/discoveryd.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/usr/discoveryd.c b/usr/discoveryd.c
index 1e149771a50b..2d3ccbcd722f 100644
--- a/usr/discoveryd.c
+++ b/usr/discoveryd.c
@@ -1034,11 +1034,6 @@ static void __do_st_disc_and_login(struct discovery_rec 
*drec)
        drec->u.sendtargets.reopen_max = 0;
 
        iface_link_ifaces(&setup_ifaces);
-       /*
-        * disc code assumes this is not set and wants to use
-        * the userspace IO code.
-        */
-       ipc = NULL;
 
        rc = idbm_bind_ifaces_to_nodes(discovery_sendtargets, drec,
                                        &setup_ifaces, &rec_list);
-- 
2.1.4

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to