diff options
author | David Howells <dhowells@redhat.com> | 2016-06-13 12:16:05 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-06-13 12:16:05 +0100 |
commit | 8c3e34a4ff85142ca5dba3f18cbc2061899e2612 (patch) | |
tree | 7e8098488c22da71b6a93296b182e29fe797ac3c | |
parent | 99860208bc62d8ebd5c57495b84856506fe075bc (diff) |
rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix
Rename files matching net/rxrpc/ar-*.c to get rid of the "ar-" prefix.
This will aid splitting those files by making easier to come up with new
names.
Note that the not all files are simply renamed from ar-X.c to X.c. The
following exceptions are made:
(*) ar-call.c -> call_object.c
ar-ack.c -> call_event.c
call_object.c is going to contain the core of the call object
handling. Call event handling is all going to be in call_event.c.
(*) ar-accept.c -> call_accept.c
Incoming call handling is going to be here.
(*) ar-connection.c -> conn_object.c
ar-connevent.c -> conn_event.c
The former file is going to have the basic connection object handling,
but there will likely be some differentiation between client
connections and service connections in additional files later. The
latter file will have all the connection-level event handling.
(*) ar-local.c -> local_object.c
This will have the local endpoint object handling code. The local
endpoint event handling code will later be split out into
local_event.c.
(*) ar-peer.c -> peer_object.c
This will have the peer endpoint object handling code. Peer event
handling code will be placed in peer_event.c (for the moment, there is
none).
(*) ar-error.c -> peer_event.c
This will become the peer event handling code, though for the moment
it's actually driven from the local endpoint's perspective.
Note that I haven't renamed ar-transport.c to transport_object.c as the
intention is to delete it when the rxrpc_transport struct is excised.
The only file that actually has its contents changed is net/rxrpc/Makefile.
net/rxrpc/ar-internal.h will need its section marker comments updating, but
I'll do that in a separate patch to make it easier for git to follow the
history across the rename. I may also want to rename ar-internal.h at some
point - but that would mean updating all the #includes and I'd rather do
that in a separate step.
Signed-off-by: David Howells <dhowells@redhat.com.
-rw-r--r-- | net/rxrpc/Makefile | 34 | ||||
-rw-r--r-- | net/rxrpc/call_accept.c (renamed from net/rxrpc/ar-accept.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/call_event.c (renamed from net/rxrpc/ar-ack.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/call_object.c (renamed from net/rxrpc/ar-call.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/conn_event.c (renamed from net/rxrpc/ar-connevent.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/conn_object.c (renamed from net/rxrpc/ar-connection.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/input.c (renamed from net/rxrpc/ar-input.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/key.c (renamed from net/rxrpc/ar-key.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/local_object.c (renamed from net/rxrpc/ar-local.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/output.c (renamed from net/rxrpc/ar-output.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/peer_event.c (renamed from net/rxrpc/ar-error.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/peer_object.c (renamed from net/rxrpc/ar-peer.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/proc.c (renamed from net/rxrpc/ar-proc.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/recvmsg.c (renamed from net/rxrpc/ar-recvmsg.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/security.c (renamed from net/rxrpc/ar-security.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/skbuff.c (renamed from net/rxrpc/ar-skbuff.c) | 0 | ||||
-rw-r--r-- | net/rxrpc/transport.c (renamed from net/rxrpc/ar-transport.c) | 0 |
17 files changed, 17 insertions, 17 deletions
diff --git a/net/rxrpc/Makefile b/net/rxrpc/Makefile index e05a06ef2254..7e1006a3bfa5 100644 --- a/net/rxrpc/Makefile +++ b/net/rxrpc/Makefile @@ -4,25 +4,25 @@ af-rxrpc-y := \ af_rxrpc.o \ - ar-accept.o \ - ar-ack.o \ - ar-call.o \ - ar-connection.o \ - ar-connevent.o \ - ar-error.o \ - ar-input.o \ - ar-key.o \ - ar-local.o \ - ar-output.o \ - ar-peer.o \ - ar-recvmsg.o \ - ar-security.o \ - ar-skbuff.o \ - ar-transport.o \ + call_accept.o \ + call_event.o \ + call_object.o \ + conn_event.o \ + conn_object.o \ + input.o \ insecure.o \ - misc.o + key.o \ + local_object.o \ + misc.o \ + output.o \ + peer_event.o \ + peer_object.o \ + recvmsg.o \ + security.o \ + skbuff.o \ + transport.o -af-rxrpc-$(CONFIG_PROC_FS) += ar-proc.o +af-rxrpc-$(CONFIG_PROC_FS) += proc.o af-rxrpc-$(CONFIG_RXKAD) += rxkad.o af-rxrpc-$(CONFIG_SYSCTL) += sysctl.o diff --git a/net/rxrpc/ar-accept.c b/net/rxrpc/call_accept.c index eea5f4a5d8b1..eea5f4a5d8b1 100644 --- a/net/rxrpc/ar-accept.c +++ b/net/rxrpc/call_accept.c diff --git a/net/rxrpc/ar-ack.c b/net/rxrpc/call_event.c index 18381783c2b1..18381783c2b1 100644 --- a/net/rxrpc/ar-ack.c +++ b/net/rxrpc/call_event.c diff --git a/net/rxrpc/ar-call.c b/net/rxrpc/call_object.c index 68125dc4cb7c..68125dc4cb7c 100644 --- a/net/rxrpc/ar-call.c +++ b/net/rxrpc/call_object.c diff --git a/net/rxrpc/ar-connevent.c b/net/rxrpc/conn_event.c index 8bdd692d4862..8bdd692d4862 100644 --- a/net/rxrpc/ar-connevent.c +++ b/net/rxrpc/conn_event.c diff --git a/net/rxrpc/ar-connection.c b/net/rxrpc/conn_object.c index 8ecde4b77b55..8ecde4b77b55 100644 --- a/net/rxrpc/ar-connection.c +++ b/net/rxrpc/conn_object.c diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/input.c index e0815a033999..e0815a033999 100644 --- a/net/rxrpc/ar-input.c +++ b/net/rxrpc/input.c diff --git a/net/rxrpc/ar-key.c b/net/rxrpc/key.c index 4ad56fafe3a7..4ad56fafe3a7 100644 --- a/net/rxrpc/ar-key.c +++ b/net/rxrpc/key.c diff --git a/net/rxrpc/ar-local.c b/net/rxrpc/local_object.c index 111f250b045f..111f250b045f 100644 --- a/net/rxrpc/ar-local.c +++ b/net/rxrpc/local_object.c diff --git a/net/rxrpc/ar-output.c b/net/rxrpc/output.c index 2e3c4064e29c..2e3c4064e29c 100644 --- a/net/rxrpc/ar-output.c +++ b/net/rxrpc/output.c diff --git a/net/rxrpc/ar-error.c b/net/rxrpc/peer_event.c index 3e82d6f0313c..3e82d6f0313c 100644 --- a/net/rxrpc/ar-error.c +++ b/net/rxrpc/peer_event.c diff --git a/net/rxrpc/ar-peer.c b/net/rxrpc/peer_object.c index 0b54cda3d8e5..0b54cda3d8e5 100644 --- a/net/rxrpc/ar-peer.c +++ b/net/rxrpc/peer_object.c diff --git a/net/rxrpc/ar-proc.c b/net/rxrpc/proc.c index 225163bc658d..225163bc658d 100644 --- a/net/rxrpc/ar-proc.c +++ b/net/rxrpc/proc.c diff --git a/net/rxrpc/ar-recvmsg.c b/net/rxrpc/recvmsg.c index 59706b9f2f7a..59706b9f2f7a 100644 --- a/net/rxrpc/ar-recvmsg.c +++ b/net/rxrpc/recvmsg.c diff --git a/net/rxrpc/ar-security.c b/net/rxrpc/security.c index d223253b22fa..d223253b22fa 100644 --- a/net/rxrpc/ar-security.c +++ b/net/rxrpc/security.c diff --git a/net/rxrpc/ar-skbuff.c b/net/rxrpc/skbuff.c index eee0cfd9ac8c..eee0cfd9ac8c 100644 --- a/net/rxrpc/ar-skbuff.c +++ b/net/rxrpc/skbuff.c diff --git a/net/rxrpc/ar-transport.c b/net/rxrpc/transport.c index a1b65183b07d..a1b65183b07d 100644 --- a/net/rxrpc/ar-transport.c +++ b/net/rxrpc/transport.c |