mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 06:06:23 +00:00
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:
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user