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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}