summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-09-02 17:25:51 +0000
committerbde <bde@FreeBSD.org>1998-09-02 17:25:51 +0000
commite4b749479973cd79da52eea06b838edabf82962d (patch)
tree11666ed6a650b04296461e88ba8418ad66f5cdb3 /sys
parent5dceba8aea5caf8e07fc813b8f92e726420e4467 (diff)
downloadFreeBSD-src-e4b749479973cd79da52eea06b838edabf82962d.zip
FreeBSD-src-e4b749479973cd79da52eea06b838edabf82962d.tar.gz
Added a vfs_oid pointer and a vfs_uninit() function to struct
vfsops. vfs_oid will be used to attach and detach vfs sysctls dynamically. vfs_uninit() will be used to clean up before modunloading vfs LKMs. The nfs LKM needs these features most.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mount.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index d304bb9..b63258e 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mount.h 8.21 (Berkeley) 5/20/95
- * $Id: mount.h,v 1.63 1998/07/25 15:52:10 alex Exp $
+ * $Id: mount.h,v 1.64 1998/09/02 17:03:49 bde Exp $
*/
#ifndef _SYS_MOUNT_H_
@@ -357,6 +357,8 @@ struct vfsops {
int *exflagsp, struct ucred **credanonp));
int (*vfs_vptofh) __P((struct vnode *vp, struct fid *fhp));
int (*vfs_init) __P((struct vfsconf *));
+ int (*vfs_uninit) __P((struct vfsconf *));
+ struct sysctl_oid *vfs_oid;
};
#define VFS_MOUNT(MP, PATH, DATA, NDP, P) \
OpenPOWER on IntegriCloud