aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-02-17 13:16:21 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-17 15:09:19 -0500
commit88c4845d7dec835ba7ad1379e30a09658b05495d (patch)
tree5587e6e2817057f246530c33b138328c39e1ba62
parentb5124720ed2e5b43c851a32e9acc8d29e3e780ae (diff)
rxrpc: Change module filename to rxrpc.ko
Change module filename from af-rxrpc.ko to rxrpc.ko so as to be consistent with the other protocol drivers. Also adjust the documentation to reflect this. Further, there is no longer a standalone rxkad module, as it has been merged into the rxrpc core, so get rid of references to that. Reported-by: Marc Dionne <marc.dionne@auristor.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--Documentation/filesystems/afs.txt34
-rw-r--r--net/rxrpc/Makefile12
2 files changed, 7 insertions, 39 deletions
diff --git a/Documentation/filesystems/afs.txt b/Documentation/filesystems/afs.txt
index ffef91c4e0d6..060da408923b 100644
--- a/Documentation/filesystems/afs.txt
+++ b/Documentation/filesystems/afs.txt
@@ -64,8 +64,7 @@ USAGE
64When inserting the driver modules the root cell must be specified along with a 64When inserting the driver modules the root cell must be specified along with a
65list of volume location server IP addresses: 65list of volume location server IP addresses:
66 66
67 modprobe af_rxrpc 67 modprobe rxrpc
68 modprobe rxkad
69 modprobe kafs rootcell=cambridge.redhat.com:172.16.18.73:172.16.18.91 68 modprobe kafs rootcell=cambridge.redhat.com:172.16.18.73:172.16.18.91
70 69
71The first module is the AF_RXRPC network protocol driver. This provides the 70The first module is the AF_RXRPC network protocol driver. This provides the
@@ -214,34 +213,3 @@ If a file is opened with a particular key and then the file descriptor is
214passed to a process that doesn't have that key (perhaps over an AF_UNIX 213passed to a process that doesn't have that key (perhaps over an AF_UNIX
215socket), then the operations on the file will be made with key that was used to 214socket), then the operations on the file will be made with key that was used to
216open the file. 215open the file.
217
218
219========
220EXAMPLES
221========
222
223Here's what I use to test this. Some of the names and IP addresses are local
224to my internal DNS. My "root.afs" partition has a mount point within it for
225some public volumes volumes.
226
227insmod /tmp/rxrpc.o
228insmod /tmp/rxkad.o
229insmod /tmp/kafs.o rootcell=cambridge.redhat.com:172.16.18.91
230
231mount -t afs \%root.afs. /afs
232mount -t afs \%cambridge.redhat.com:root.cell. /afs/cambridge.redhat.com/
233
234echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 > /proc/fs/afs/cells
235mount -t afs "#grand.central.org:root.cell." /afs/grand.central.org/
236mount -t afs "#grand.central.org:root.archive." /afs/grand.central.org/archive
237mount -t afs "#grand.central.org:root.contrib." /afs/grand.central.org/contrib
238mount -t afs "#grand.central.org:root.doc." /afs/grand.central.org/doc
239mount -t afs "#grand.central.org:root.project." /afs/grand.central.org/project
240mount -t afs "#grand.central.org:root.service." /afs/grand.central.org/service
241mount -t afs "#grand.central.org:root.software." /afs/grand.central.org/software
242mount -t afs "#grand.central.org:root.user." /afs/grand.central.org/user
243
244umount /afs
245rmmod kafs
246rmmod rxkad
247rmmod rxrpc
diff --git a/net/rxrpc/Makefile b/net/rxrpc/Makefile
index 8fc6ea347182..b9da4d6b914f 100644
--- a/net/rxrpc/Makefile
+++ b/net/rxrpc/Makefile
@@ -2,7 +2,9 @@
2# Makefile for Linux kernel RxRPC 2# Makefile for Linux kernel RxRPC
3# 3#
4 4
5af-rxrpc-y := \ 5obj-$(CONFIG_AF_RXRPC) += rxrpc.o
6
7rxrpc-y := \
6 af_rxrpc.o \ 8 af_rxrpc.o \
7 call_accept.o \ 9 call_accept.o \
8 call_event.o \ 10 call_event.o \
@@ -26,8 +28,6 @@ af-rxrpc-y := \
26 skbuff.o \ 28 skbuff.o \
27 utils.o 29 utils.o
28 30
29af-rxrpc-$(CONFIG_PROC_FS) += proc.o 31rxrpc-$(CONFIG_PROC_FS) += proc.o
30af-rxrpc-$(CONFIG_RXKAD) += rxkad.o 32rxrpc-$(CONFIG_RXKAD) += rxkad.o
31af-rxrpc-$(CONFIG_SYSCTL) += sysctl.o 33rxrpc-$(CONFIG_SYSCTL) += sysctl.o
32
33obj-$(CONFIG_AF_RXRPC) += af-rxrpc.o