From 47c7997c11316e4dc93fd3ad21d88f5d92079e72 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 18 Nov 2013 12:41:33 +0000 Subject: [PATCH] ib_srpt: Log an info message instead of an error message if a target is not enabled git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5115 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 942d779bd..9bf15d445 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2661,9 +2661,9 @@ restart: if (!srpt_tgt->enabled) { rej->reason = cpu_to_be32( SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); - PRINT_ERROR("rejected SRP_LOGIN_REQ because the target %s (%s)" - " is not enabled", - srpt_tgt->scst_tgt->tgt_name, sdev->device->name); + PRINT_INFO("rejected SRP_LOGIN_REQ because the target %s (%s)" + " is not enabled", + srpt_tgt->scst_tgt->tgt_name, sdev->device->name); spin_unlock_irq(&srpt_tgt->spinlock); goto reject; }