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
This commit is contained in:
Bart Van Assche
2013-11-18 12:41:33 +00:00
parent 08f3caecaa
commit 47c7997c11
+3 -3
View File
@@ -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;
}