From d55d47adeda614f0d3b089d0efc2f4f870043907 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 20 Sep 2001 04:57:34 +0000 Subject: [PATCH] Add the magic marker so that loader and kldload(2) can find this in module form automagically. --- sys/nfsclient/nfs_vfsops.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 68d0b93550c1..cbf03aabc98c 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -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