summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-04-27 20:42:30 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-04-27 20:42:30 +0000
commitc44593a0a41a8d24665e3e0f763f60ee0f328cd4 (patch)
tree0b5bfcf4b52f034f0200677a1543235f9e1c074c /sys/nfsclient/nfs_vfsops.c
parentda3b304fc1e3776979accc2d8a8e24dfc299fb05 (diff)
downloadFreeBSD-src-c44593a0a41a8d24665e3e0f763f60ee0f328cd4.zip
FreeBSD-src-c44593a0a41a8d24665e3e0f763f60ee0f328cd4.tar.gz
Fix module names and dependencies so the NFS clients will
load correctly as modules after r221124.
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r--sys/nfsclient/nfs_vfsops.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index cd33b04..ec60c94 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -147,13 +147,13 @@ static struct vfsops nfs_vfsops = {
VFS_SET(nfs_vfsops, oldnfs, VFCF_NETWORK);
/* So that loader and kldload(2) can find us, wherever we are.. */
-MODULE_VERSION(nfs, 1);
-MODULE_DEPEND(nfs, krpc, 1, 1, 1);
+MODULE_VERSION(oldnfs, 1);
+MODULE_DEPEND(oldnfs, krpc, 1, 1, 1);
#ifdef KGSSAPI
-MODULE_DEPEND(nfs, kgssapi, 1, 1, 1);
+MODULE_DEPEND(oldnfs, kgssapi, 1, 1, 1);
#endif
-MODULE_DEPEND(nfs, nfs_common, 1, 1, 1);
-MODULE_DEPEND(nfs, nfslock, 1, 1, 1);
+MODULE_DEPEND(oldnfs, nfs_common, 1, 1, 1);
+MODULE_DEPEND(oldnfs, nfslock, 1, 1, 1);
static struct nfs_rpcops nfs_rpcops = {
nfs_readrpc,
OpenPOWER on IntegriCloud