summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2015-10-18 14:41:38 +0000
committertrasz <trasz@FreeBSD.org>2015-10-18 14:41:38 +0000
commita3a538f354c23d762c95475d4366144d487836dc (patch)
tree90ba0f688647007f9646e5699f4215d5dfffa0bb /sys/fs
parente93b464d004e23b7e58e159e6fec69e62351e72b (diff)
downloadFreeBSD-src-a3a538f354c23d762c95475d4366144d487836dc.zip
FreeBSD-src-a3a538f354c23d762c95475d4366144d487836dc.tar.gz
MFC r287033:
After r286237 it should be fine to call vgone(9) on a busy GEOM vnode; remove KASSERT that would prevent forced devfs unmount from working. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/devfs/devfs_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c
index 7f20389..17a336f 100644
--- a/sys/fs/devfs/devfs_vnops.c
+++ b/sys/fs/devfs/devfs_vnops.c
@@ -64,6 +64,7 @@
#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>
@@ -1763,7 +1764,7 @@ static struct vop_vector devfs_vnodeops = {
.vop_vptocnp = devfs_vptocnp,
};
-struct vop_vector devfs_specops = {
+static struct vop_vector devfs_specops = {
.vop_default = &default_vnodeops,
.vop_access = devfs_access,
OpenPOWER on IntegriCloud