rxrpc: Provide more refcount helper functions
authorDavid Howells <dhowells@redhat.com>
Mon, 4 Apr 2016 13:00:38 +0000 (14:00 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 22 Jun 2016 08:17:51 +0000 (09:17 +0100)
commit5627cc8b961e4b07d5d649d9bd01ac929dcc1a95
treea56752e988d6e458623e5f1f660b4b95d195007f
parent985a5c824a52e9f7cae59c850e2db98954f21c7c
rxrpc: Provide more refcount helper functions

Provide refcount helper functions for connections so that the code doesn't
touch local or connection usage counts directly.

Also make it such that local and peer put functions can take a NULL
pointer.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/af_rxrpc.c
net/rxrpc/ar-internal.h
net/rxrpc/call_accept.c
net/rxrpc/call_object.c
net/rxrpc/conn_event.c
net/rxrpc/conn_object.c
net/rxrpc/input.c
net/rxrpc/local_object.c