mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-24 19:40:21 +09:00
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: b4af59328c ("SUNRPC: Trace server-side rpcbind registration events")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user