mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 17:57:38 -04:00
rxrpc: Fix switched parameters in peer tracing
Fix the switched parameters on rxrpc_alloc_peer() and rxrpc_get_peer().
The ref argument and the why argument got mixed.
Fixes: 47c810a798 ("rxrpc: trace: Don't use __builtin_return_address for rxrpc_peer tracing")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
608aecd16a
commit
c838f1a73d
@@ -471,7 +471,7 @@ TRACE_EVENT(rxrpc_peer,
|
||||
TP_STRUCT__entry(
|
||||
__field(unsigned int, peer )
|
||||
__field(int, ref )
|
||||
__field(int, why )
|
||||
__field(enum rxrpc_peer_trace, why )
|
||||
),
|
||||
|
||||
TP_fast_assign(
|
||||
|
||||
Reference in New Issue
Block a user