X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Frxrpc%2Far-transport.c;h=92df566930b9a05c23d109cb9e42806698cbb535;hb=9a55d9752d8abfc62f1ab05ccc790d22a0c8e7c0;hp=5e0226fe587e738157d58471f6a603d003780484;hpb=69b5de84758237ee0086554849489baeeafcd097;p=~andy%2Flinux diff --git a/net/rxrpc/ar-transport.c b/net/rxrpc/ar-transport.c index 5e0226fe587..92df566930b 100644 --- a/net/rxrpc/ar-transport.c +++ b/net/rxrpc/ar-transport.c @@ -111,6 +111,7 @@ struct rxrpc_transport *rxrpc_get_transport(struct rxrpc_local *local, /* we can now add the new candidate to the list */ trans = candidate; candidate = NULL; + usage = atomic_read(&trans->usage); rxrpc_get_local(trans->local); atomic_inc(&trans->peer->usage); @@ -125,7 +126,7 @@ success: trans->local->debug_id, trans->peer->debug_id); - _leave(" = %p {u=%d}", trans, atomic_read(&trans->usage)); + _leave(" = %p {u=%d}", trans, usage); return trans; /* we found the transport in the list immediately */