Commit 07a27305 authored by Chuck Lever's avatar Chuck Lever

SUNRPC: Fix trace_svc_register() call site

The trace event recorded incorrect values for the registered family,
protocol, and port because the arguments are in the wrong order.

Fixes: b4af5932 ("SUNRPC: Trace server-side rpcbind registration events")
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 948f072a
......@@ -1052,7 +1052,7 @@ static int __svc_register(struct net *net, const char *progname,
#endif
}
trace_svc_register(progname, version, protocol, port, family, error);
trace_svc_register(progname, version, family, protocol, port, error);
return error;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment