Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a20a988 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent ac20d163
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1902,6 +1902,10 @@ static void xs_local_setup_socket(struct work_struct *work)
		dprintk("RPC:       xprt %p: socket %s does not exist\n",
				xprt, xprt->address_strings[RPC_DISPLAY_ADDR]);
		break;
	case -ECONNREFUSED:
		dprintk("RPC:       xprt %p: connection refused for %s\n",
				xprt, xprt->address_strings[RPC_DISPLAY_ADDR]);
		break;
	default:
		printk(KERN_ERR "%s: unhandled error (%d) connecting to %s\n",
				__func__, -status,