summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-06-13 11:16:05 (GMT)
committerDavid Howells <dhowells@redhat.com>2016-06-13 11:16:05 (GMT)
commit8c3e34a4ff85142ca5dba3f18cbc2061899e2612 (patch)
tree7e8098488c22da71b6a93296b182e29fe797ac3c
parent99860208bc62d8ebd5c57495b84856506fe075bc (diff)
downloadlinux-8c3e34a4ff85142ca5dba3f18cbc2061899e2612.tar.xz
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/Makefile34
-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 e05a06e..7e1006a 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 eea5f4a..eea5f4a 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 1838178..1838178 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 68125dc..68125dc 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 8bdd692..8bdd692 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 8ecde4b..8ecde4b 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 e0815a0..e0815a0 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 4ad56fa..4ad56fa 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 111f250..111f250 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 2e3c406..2e3c406 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 3e82d6f..3e82d6f 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 0b54cda..0b54cda 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 225163b..225163b 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 59706b9..59706b9 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 d223253..d223253 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 eee0cfd9..eee0cfd9 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 a1b6518..a1b6518 100644
--- a/net/rxrpc/ar-transport.c
+++ b/net/rxrpc/transport.c