提交 2892505e 编写于 作者: E Erik Hugne 提交者: David S. Miller

tipc: don't log disabled tasklet handler errors

Failure to schedule a TIPC tasklet with tipc_k_signal because the
tasklet handler is disabled is not an error. It means TIPC is
currently in the process of shutting down. We remove the error
logging in this case.
Signed-off-by: NErik Hugne <erik.hugne@ericsson.com>
Reviewed-by: NJon Maloy <jon.maloy@ericsson.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1bb8dce5
...@@ -58,7 +58,6 @@ unsigned int tipc_k_signal(Handler routine, unsigned long argument) ...@@ -58,7 +58,6 @@ unsigned int tipc_k_signal(Handler routine, unsigned long argument)
spin_lock_bh(&qitem_lock); spin_lock_bh(&qitem_lock);
if (!handler_enabled) { if (!handler_enabled) {
pr_err("Signal request ignored by handler\n");
spin_unlock_bh(&qitem_lock); spin_unlock_bh(&qitem_lock);
return -ENOPROTOOPT; return -ENOPROTOOPT;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册