rxrpc: Fix switched parameters in peer tracing
authorDavid Howells <dhowells@redhat.com>
Thu, 15 Dec 2022 16:20:30 +0000 (16:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Dec 2022 09:51:31 +0000 (09:51 +0000)
commitc838f1a73d77abadb0810eff0e150ac88fef3da5
tree4d16a2f0b950058ed9cd0292077bcfc1219a72cb
parent608aecd16a31269485e2980898029dd01b03a73e
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: 47c810a79844 ("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>
include/trace/events/rxrpc.h
net/rxrpc/peer_object.c