diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-05-14 22:51:48 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-05-14 22:58:14 +0300 |
commit | 07a27305938559fb35f7a46fb90a5e37728bdee6 (patch) | |
tree | 86ef7cc0fffb6d5b2389d29c4f20436626f147cf /net/sunrpc | |
parent | 948f072ada23e0a504c5e4d7d71d4c83bd0785ec (diff) | |
download | linux-07a27305938559fb35f7a46fb90a5e37728bdee6.tar.xz |
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: b4af59328c25 ("SUNRPC: Trace server-side rpcbind registration events")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 43e32129a583..79967b6925bd 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -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; } |