diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-01-06 15:35:07 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-01-06 15:35:07 +0000 |
commit | c58e3158b8a46fbb09dd5d386ad0648b5ab858f1 (patch) | |
tree | 5b879bab3768a43aba827419130528c54fb6bb68 /usr.sbin/iscsid | |
parent | 4a9a2369f91363443daa97a9306f8e2bcf27ebff (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.c | 4 |
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); |