diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-08-23 14:53:54 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-08-23 14:53:54 +0000 |
commit | 6e572e084b5c55e2e12b87e97157ff3e0975d65d (patch) | |
tree | b033cf233ce1325a0ef198c06efd973091d18aff /sys/fs | |
parent | fbefacfc266bd9a199bcd06655f000232d7bb24f (diff) | |
download | src-6e572e084b5c55e2e12b87e97157ff3e0975d65d.tar.gz src-6e572e084b5c55e2e12b87e97157ff3e0975d65d.zip |
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
Notes
Notes:
svn path=/head/; revision=287033
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 806843769a11..d27af4654325 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, |