diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-05-02 16:20:10 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-02 16:20:10 -0700 |
commit | 50aab54f3056ba28afc681f71adee41c399dde1e (patch) | |
tree | ad11e9d15abadaf51ca01105802c97f08fdfec94 /net/rxrpc/ar-transport.c | |
parent | 78e92b99ec4eb73755abd4e357b0b211eadafd88 (diff) | |
download | kernel_samsung_smdk4412-50aab54f3056ba28afc681f71adee41c399dde1e.tar.gz kernel_samsung_smdk4412-50aab54f3056ba28afc681f71adee41c399dde1e.tar.bz2 kernel_samsung_smdk4412-50aab54f3056ba28afc681f71adee41c399dde1e.zip |
net: Add missing braces to multi-statement if()s
One finds all kinds of crazy things with some shell pipelining.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/ar-transport.c')
-rw-r--r-- | net/rxrpc/ar-transport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rxrpc/ar-transport.c b/net/rxrpc/ar-transport.c index bb282a6a19f..64069c8769a 100644 --- a/net/rxrpc/ar-transport.c +++ b/net/rxrpc/ar-transport.c @@ -184,12 +184,13 @@ void rxrpc_put_transport(struct rxrpc_transport *trans) ASSERTCMP(atomic_read(&trans->usage), >, 0); trans->put_time = get_seconds(); - if (unlikely(atomic_dec_and_test(&trans->usage))) + if (unlikely(atomic_dec_and_test(&trans->usage))) { _debug("zombie"); /* let the reaper determine the timeout to avoid a race with * overextending the timeout if the reaper is running at the * same time */ rxrpc_queue_delayed_work(&rxrpc_transport_reap, 0); + } _leave(""); } |