summaryrefslogtreecommitdiff
path: root/usr.sbin/iscsid
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2011-01-06 15:35:07 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2011-01-06 15:35:07 +0000
commitc58e3158b8a46fbb09dd5d386ad0648b5ab858f1 (patch)
tree5b879bab3768a43aba827419130528c54fb6bb68 /usr.sbin/iscsid
parent4a9a2369f91363443daa97a9306f8e2bcf27ebff (diff)
Pass the magic LUN -1 to VSCSI_REQPROBE so that all LU are probed
by the midlayer. With help from dlg@
Diffstat (limited to 'usr.sbin/iscsid')
-rw-r--r--usr.sbin/iscsid/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/iscsid/connection.c b/usr.sbin/iscsid/connection.c
index 8204f7f6d1d..6b5fa772865 100644
--- a/usr.sbin/iscsid/connection.c
+++ b/usr.sbin/iscsid/connection.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: connection.c,v 1.5 2011/01/04 13:12:40 claudio Exp $ */
+/* $OpenBSD: connection.c,v 1.6 2011/01/06 15:35:06 claudio Exp $ */
/*
* Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org>
@@ -330,7 +330,7 @@ int
c_do_loggedin(struct connection *c, enum c_event ev)
{
if (ev == CONN_EV_LOGGED_IN)
- vscsi_event(VSCSI_REQPROBE, c->session->target, 0);
+ vscsi_event(VSCSI_REQPROBE, c->session->target, -1);
else
initiator_discovery(c->session);
return (CONN_LOGGED_IN);