Commit a97efe2f authored by David Howells's avatar David Howells

rxrpc: Rename ar-peer.c to peer-object.c

Rename ar-peer.c to peer-object.c for consistency (to be) with the other
new object cache management files.  It will be modified in a later commit.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 0fccde8b
......@@ -13,14 +13,14 @@ af-rxrpc-y := \
ar-input.o \
ar-key.o \
ar-output.o \
ar-peer.o \
ar-recvmsg.o \
ar-security.o \
ar-skbuff.o \
ar-transport.o \
local-event.o \
local-object.o \
objcache.o
objcache.o \
peer-object.o
af-rxrpc-$(CONFIG_PROC_FS) += ar-proc.o
af-rxrpc-$(CONFIG_SYSCTL) += sysctl.o
......
......@@ -616,14 +616,6 @@ int rxrpc_client_sendmsg(struct rxrpc_sock *, struct rxrpc_transport *,
struct msghdr *, size_t);
int rxrpc_server_sendmsg(struct rxrpc_sock *, struct msghdr *, size_t);
/*
* ar-peer.c
*/
struct rxrpc_peer *rxrpc_get_peer(struct sockaddr_rxrpc *, gfp_t);
void rxrpc_put_peer(struct rxrpc_peer *);
struct rxrpc_peer *rxrpc_find_peer(struct rxrpc_local *, __be32, __be16);
void __exit rxrpc_destroy_all_peers(void);
/*
* ar-proc.c
*/
......@@ -694,6 +686,14 @@ static inline void rxrpc_put_local(struct rxrpc_local *local)
objcache_put(&rxrpc_local_cache, &local->obj);
}
/*
* peer-object.c
*/
struct rxrpc_peer *rxrpc_get_peer(struct sockaddr_rxrpc *, gfp_t);
void rxrpc_put_peer(struct rxrpc_peer *);
struct rxrpc_peer *rxrpc_find_peer(struct rxrpc_local *, __be32, __be16);
void __exit rxrpc_destroy_all_peers(void);
/*
* sysctl.c
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment