diff options
author | trasz <trasz@FreeBSD.org> | 2015-08-23 14:53:54 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-08-23 14:53:54 +0000 |
commit | 9e31188bdc0785a826b4a3fbd33d2b89264516f4 (patch) | |
tree | b033cf233ce1325a0ef198c06efd973091d18aff /sys/fs | |
parent | 0f5f99ab1e11336f60651b45b98436133f14b674 (diff) | |
download | FreeBSD-src-9e31188bdc0785a826b4a3fbd33d2b89264516f4.zip FreeBSD-src-9e31188bdc0785a826b4a3fbd33d2b89264516f4.tar.gz |
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.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/devfs/devfs_vnops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index 8068437..d27af46 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -65,6 +65,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> @@ -1862,7 +1863,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, |