Add the magic marker so that loader and kldload(2) can find this in

module form automagically.
This commit is contained in:
Peter Wemm 2001-09-20 04:57:34 +00:00
parent 1b7624d47b
commit d55d47aded
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83697

View File

@ -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