summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-02-16 20:00:21 +0000
committermarius <marius@FreeBSD.org>2010-02-16 20:00:21 +0000
commite51e443f9c10ecdd3c53d6065cdc8b426c492b07 (patch)
tree798a6052d509cf8b960f4f98ceac2a9fba8e21cd /sys/nfsclient
parentceb3f1544b3b73558308c9fdef1209622a768696 (diff)
downloadFreeBSD-src-e51e443f9c10ecdd3c53d6065cdc8b426c492b07.zip
FreeBSD-src-e51e443f9c10ecdd3c53d6065cdc8b426c492b07.tar.gz
Factor out the code shared between NFS client and server into its own
module. With r203732 it became apparent that creating the sysctl nodes twice causes at least a warning, however the whole code shouldn't be present twice in the first place. Discussed with: rmacklem
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_vfsops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 72ca2ce..a8f32da 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -147,6 +147,7 @@ MODULE_DEPEND(nfs, krpc, 1, 1, 1);
#ifdef KGSSAPI
MODULE_DEPEND(nfs, kgssapi, 1, 1, 1);
#endif
+MODULE_DEPEND(nfs, nfs_common, 1, 1, 1);
static struct nfs_rpcops nfs_rpcops = {
nfs_readrpc,
OpenPOWER on IntegriCloud