summaryrefslogtreecommitdiffstats
path: root/sys/modules/nfs_common
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/modules/nfs_common
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/modules/nfs_common')
-rw-r--r--sys/modules/nfs_common/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/nfs_common/Makefile b/sys/modules/nfs_common/Makefile
new file mode 100644
index 0000000..8f51f18
--- /dev/null
+++ b/sys/modules/nfs_common/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../nfs
+
+KMOD= nfs_common
+SRCS= nfs_common.c opt_nfs.h vnode_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud