SUNRPC: Fix trace_svc_register() call site

[ Upstream commit 07a27305938559fb35f7a46fb90a5e37728bdee6 ]

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

Fixes: b4af59328c ("SUNRPC: Trace server-side rpcbind registration events")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Chuck Lever 2023-05-14 15:51:48 -04:00 committed by Greg Kroah-Hartman
parent 47adb84916
commit da1b698976

View File

@ -1007,7 +1007,7 @@ static int __svc_register(struct net *net, const char *progname,
#endif #endif
} }
trace_svc_register(progname, version, protocol, port, family, error); trace_svc_register(progname, version, family, protocol, port, error);
return error; return error;
} }