diff options
author | David Howells <dhowells@redhat.com> | 2017-02-17 13:16:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-17 15:09:19 -0500 |
commit | 88c4845d7dec835ba7ad1379e30a09658b05495d (patch) | |
tree | 5587e6e2817057f246530c33b138328c39e1ba62 | |
parent | b5124720ed2e5b43c851a32e9acc8d29e3e780ae (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.txt | 34 | ||||
-rw-r--r-- | net/rxrpc/Makefile | 12 |
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 | |||
64 | When inserting the driver modules the root cell must be specified along with a | 64 | When inserting the driver modules the root cell must be specified along with a |
65 | list of volume location server IP addresses: | 65 | list 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 | ||
71 | The first module is the AF_RXRPC network protocol driver. This provides the | 70 | The 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 | |||
214 | passed to a process that doesn't have that key (perhaps over an AF_UNIX | 213 | passed to a process that doesn't have that key (perhaps over an AF_UNIX |
215 | socket), then the operations on the file will be made with key that was used to | 214 | socket), then the operations on the file will be made with key that was used to |
216 | open the file. | 215 | open the file. |
217 | |||
218 | |||
219 | ======== | ||
220 | EXAMPLES | ||
221 | ======== | ||
222 | |||
223 | Here's what I use to test this. Some of the names and IP addresses are local | ||
224 | to my internal DNS. My "root.afs" partition has a mount point within it for | ||
225 | some public volumes volumes. | ||
226 | |||
227 | insmod /tmp/rxrpc.o | ||
228 | insmod /tmp/rxkad.o | ||
229 | insmod /tmp/kafs.o rootcell=cambridge.redhat.com:172.16.18.91 | ||
230 | |||
231 | mount -t afs \%root.afs. /afs | ||
232 | mount -t afs \%cambridge.redhat.com:root.cell. /afs/cambridge.redhat.com/ | ||
233 | |||
234 | echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 > /proc/fs/afs/cells | ||
235 | mount -t afs "#grand.central.org:root.cell." /afs/grand.central.org/ | ||
236 | mount -t afs "#grand.central.org:root.archive." /afs/grand.central.org/archive | ||
237 | mount -t afs "#grand.central.org:root.contrib." /afs/grand.central.org/contrib | ||
238 | mount -t afs "#grand.central.org:root.doc." /afs/grand.central.org/doc | ||
239 | mount -t afs "#grand.central.org:root.project." /afs/grand.central.org/project | ||
240 | mount -t afs "#grand.central.org:root.service." /afs/grand.central.org/service | ||
241 | mount -t afs "#grand.central.org:root.software." /afs/grand.central.org/software | ||
242 | mount -t afs "#grand.central.org:root.user." /afs/grand.central.org/user | ||
243 | |||
244 | umount /afs | ||
245 | rmmod kafs | ||
246 | rmmod rxkad | ||
247 | rmmod 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 | ||
5 | af-rxrpc-y := \ | 5 | obj-$(CONFIG_AF_RXRPC) += rxrpc.o |
6 | |||
7 | rxrpc-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 | ||
29 | af-rxrpc-$(CONFIG_PROC_FS) += proc.o | 31 | rxrpc-$(CONFIG_PROC_FS) += proc.o |
30 | af-rxrpc-$(CONFIG_RXKAD) += rxkad.o | 32 | rxrpc-$(CONFIG_RXKAD) += rxkad.o |
31 | af-rxrpc-$(CONFIG_SYSCTL) += sysctl.o | 33 | rxrpc-$(CONFIG_SYSCTL) += sysctl.o |
32 | |||
33 | obj-$(CONFIG_AF_RXRPC) += af-rxrpc.o | ||