summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-03-06 09:22:05 +0000
committerkib <kib@FreeBSD.org>2015-03-06 09:22:05 +0000
commit06a96cf2f5837dcb35818e51ab91d89ab882037c (patch)
treef2af2cfa515c93b00b88369146280cb86a4a0baf /sys/fs/devfs
parentdd89b387bb6d5c04214a20007e1f352d01a7f549 (diff)
downloadFreeBSD-src-06a96cf2f5837dcb35818e51ab91d89ab882037c.zip
FreeBSD-src-06a96cf2f5837dcb35818e51ab91d89ab882037c.tar.gz
MFC r279362:
The VNASSERT in vflush() FORCECLOSE case is trying to panic early to prevent errors from yanking devices out from under filesystems. Only care about special vnodes on devfs, special nodes on other kinds of filesystems do not have special properties.
Diffstat (limited to 'sys/fs/devfs')
-rw-r--r--sys/fs/devfs/devfs_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c
index d3ab235..134f8b0 100644
--- a/sys/fs/devfs/devfs_vnops.c
+++ b/sys/fs/devfs/devfs_vnops.c
@@ -63,7 +63,6 @@
#include <sys/vnode.h>
static struct vop_vector devfs_vnodeops;
-static struct vop_vector devfs_specops;
static struct fileops devfs_ops_f;
#include <fs/devfs/devfs.h>
@@ -1737,7 +1736,7 @@ static struct vop_vector devfs_vnodeops = {
.vop_vptocnp = devfs_vptocnp,
};
-static struct vop_vector devfs_specops = {
+struct vop_vector devfs_specops = {
.vop_default = &default_vnodeops,
.vop_access = devfs_access,
OpenPOWER on IntegriCloud