提交 4a20a988 编写于 作者: T Trond Myklebust

SUNRPC: Handle ECONNREFUSED in xs_local_setup_socket

Silence the unnecessary warning "unhandled error (111) connecting to..."
and convert it to a dprintk for debugging purposes.
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 ac20d163
...@@ -1902,6 +1902,10 @@ static void xs_local_setup_socket(struct work_struct *work) ...@@ -1902,6 +1902,10 @@ static void xs_local_setup_socket(struct work_struct *work)
dprintk("RPC: xprt %p: socket %s does not exist\n", dprintk("RPC: xprt %p: socket %s does not exist\n",
xprt, xprt->address_strings[RPC_DISPLAY_ADDR]); xprt, xprt->address_strings[RPC_DISPLAY_ADDR]);
break; break;
case -ECONNREFUSED:
dprintk("RPC: xprt %p: connection refused for %s\n",
xprt, xprt->address_strings[RPC_DISPLAY_ADDR]);
break;
default: default:
printk(KERN_ERR "%s: unhandled error (%d) connecting to %s\n", printk(KERN_ERR "%s: unhandled error (%d) connecting to %s\n",
__func__, -status, __func__, -status,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册