diff options
author | kib <kib@FreeBSD.org> | 2015-02-27 16:43:50 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-02-27 16:43:50 +0000 |
commit | 3bc9cbc06ab1177bb780e4c4e3f0d71e65acaf21 (patch) | |
tree | c9e517897005cb38ec394d3ddd0b5a4d3fc729ed /sys/fs/devfs | |
parent | 1df855e5be4c0cf10b0fb0596b4ae2d9472e6347 (diff) | |
download | FreeBSD-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.c | 3 |
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, |