summaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-12-28 05:51:39 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-12-28 05:51:39 +0000
commit5b78d8b23e9c62e66196cafc9330d55f83e9bff2 (patch)
treecfce0f5a9d883fafc0586373ad9300da0ee6d610 /sys/miscfs
parent8a0a9e6313704ace9c85da2972df9a71bf205087 (diff)
kernfs_sync needs to be nullop, not eopnotsupp for unmount to work
w/o MNT_FORCE.
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/kernfs/kernfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/kernfs/kernfs.h b/sys/miscfs/kernfs/kernfs.h
index 4082a030f78..e75573e12d5 100644
--- a/sys/miscfs/kernfs/kernfs.h
+++ b/sys/miscfs/kernfs/kernfs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kernfs.h,v 1.6 1997/11/06 05:58:35 csapuntz Exp $ */
+/* $OpenBSD: kernfs.h,v 1.7 1998/12/28 05:51:38 millert Exp $ */
/* $NetBSD: kernfs.h,v 1.10 1996/02/09 22:40:21 christos Exp $ */
/*
@@ -87,7 +87,7 @@ struct kernfs_node {
eopnotsupp)
#define kernfs_vptofh ((int (*) __P((struct vnode *, struct fid *)))eopnotsupp)
#define kernfs_sync ((int (*) __P((struct mount *, int, struct ucred *, \
- struct proc *)))eopnotsupp)
+ struct proc *)))nullop)
extern int (**kernfs_vnodeop_p) __P((void *));
extern struct vfsops kernfs_vfsops;