summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-09-20 04:57:34 +0000
committerpeter <peter@FreeBSD.org>2001-09-20 04:57:34 +0000
commitf6cc549f2c49f52dae4d9994c3d34cb71b6a19d5 (patch)
treee3f13fdc641c1989d6eb51d1ab315204825dbf55 /sys/nfsclient
parent15d80be8dbb22b90537b4bb24a4f12e9ad4afce4 (diff)
downloadFreeBSD-src-f6cc549f2c49f52dae4d9994c3d34cb71b6a19d5.zip
FreeBSD-src-f6cc549f2c49f52dae4d9994c3d34cb71b6a19d5.tar.gz
Add the magic marker so that loader and kldload(2) can find this in
module form automagically.
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_vfsops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 68d0b93..cbf03aa 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$");
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
+#include <sys/module.h>
#include <sys/mount.h>
#include <sys/proc.h>
#include <sys/socket.h>
@@ -122,6 +123,9 @@ static struct vfsops nfs_vfsops = {
};
VFS_SET(nfs_vfsops, nfs, VFCF_NETWORK);
+/* So that loader and kldload(2) can find us, wherever we are.. */
+MODULE_VERSION(nfs, 1);
+
/*
* This structure must be filled in by a primary bootstrap or bootstrap
* server for a diskless/dataless machine. It is initialized below just
OpenPOWER on IntegriCloud