Blame SOURCES/0013-Revert-iscsiadm-return-error-when-login-fails.patch

62f653
From 6629618e3581cbe632b7408a49437270bc04a8d4 Mon Sep 17 00:00:00 2001
62f653
From: Chris Leech <cleech@redhat.com>
62f653
Date: Mon, 24 Feb 2014 09:33:33 -0800
62f653
Subject: [PATCH 13/32] Revert "iscsiadm: return error when login fails"
62f653
62f653
This reverts commit fc2a8e9a2911bc76f961fe3e4a159fab9b8b9691.
62f653
62f653
Done to address RHBZ #1015563
62f653
---
62f653
 usr/session_mgmt.c | 4 ++--
62f653
 1 file changed, 2 insertions(+), 2 deletions(-)
62f653
62f653
diff --git a/usr/session_mgmt.c b/usr/session_mgmt.c
62f653
index 596085b1f640..07f587d2bafb 100644
62f653
--- a/usr/session_mgmt.c
62f653
+++ b/usr/session_mgmt.c
62f653
@@ -178,12 +178,12 @@ int iscsi_login_portal(void *data, struct list_head *list, struct node_rec *rec)
62f653
 		goto done;
62f653
 	}
62f653
 	if (session_count >= rec->session.nr_sessions) {
62f653
-		log_warning("%s: %d session%s requested, but %d "
62f653
+		log_debug(1, "%s: %d session%s requested, but %d "
62f653
 			  "already present.",
62f653
 			  rec->iface.name, rec->session.nr_sessions,
62f653
 			  rec->session.nr_sessions == 1 ? "" : "s",
62f653
 			  session_count);
62f653
-		rc = ISCSI_ERR_SESS_EXISTS;
62f653
+		rc = 0;
62f653
 		goto done;
62f653
 	}
62f653
 
62f653
-- 
62f653
2.14.4
62f653