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@5114 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-11-18 12:40:59 +00:00
parent b4fe71ad55
commit 08f3caecaa

View File

@@ -2499,8 +2499,8 @@ static int srpt_cm_req_recv(struct ib_cm_id *cm_id,
if (!srpt_tgt->enabled) {
rej->reason = cpu_to_be32(
SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES);
PRINT_ERROR("rejected SRP_LOGIN_REQ because target %s is not"
" enabled", srpt_tgt->scst_tgt->tgt_name);
PRINT_INFO("rejected SRP_LOGIN_REQ because target %s is not"
" enabled", srpt_tgt->scst_tgt->tgt_name);
goto reject;
}