ib_srpt: Change the severity level of a log message

Make sure that target port state changes get logged even with
debugging disabled.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5365 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-03-24 11:57:39 +00:00
parent b40f69db8b
commit a4cf36ba4e

View File

@@ -2348,8 +2348,8 @@ static int srpt_enable_target(struct scst_tgt *scst_tgt, bool enable)
if (!srpt_tgt)
goto out;
TRACE_DBG("%s target %s", enable ? "Enabling" : "Disabling",
scst_tgt->tgt_name);
PRINT_INFO("%s target %s", enable ? "Enabling" : "Disabling",
scst_tgt->tgt_name);
spin_lock_irq(&srpt_tgt->spinlock);
srpt_tgt->enabled = enable;