summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-02-27 16:43:50 +0000
committerkib <kib@FreeBSD.org>2015-02-27 16:43:50 +0000
commit3bc9cbc06ab1177bb780e4c4e3f0d71e65acaf21 (patch)
treec9e517897005cb38ec394d3ddd0b5a4d3fc729ed /sys/fs/devfs
parent1df855e5be4c0cf10b0fb0596b4ae2d9472e6347 (diff)
downloadFreeBSD-src-3bc9cbc06ab1177bb780e4c4e3f0d71e65acaf21.zip
FreeBSD-src-3bc9cbc06ab1177bb780e4c4e3f0d71e65acaf21.tar.gz
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. Sponsored by: EMC / Isilon Storage Division Submitted by: Conrad Meyer MFC after: 1 week
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 570f710..ef4e3e6 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>
@@ -1760,7 +1759,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