diff options
author | trasz <trasz@FreeBSD.org> | 2015-10-18 14:41:38 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-10-18 14:41:38 +0000 |
commit | a3a538f354c23d762c95475d4366144d487836dc (patch) | |
tree | 90ba0f688647007f9646e5699f4215d5dfffa0bb /sys/kern/vfs_subr.c | |
parent | e93b464d004e23b7e58e159e6fec69e62351e72b (diff) | |
download | FreeBSD-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/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index d777b98..5058080 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -2661,10 +2661,6 @@ loop: * If FORCECLOSE is set, forcibly close the vnode. */ if (vp->v_usecount == 0 || (flags & FORCECLOSE)) { - VNASSERT(vp->v_usecount == 0 || - vp->v_op != &devfs_specops || - (vp->v_type != VCHR && vp->v_type != VBLK), vp, - ("device VNODE %p is FORCECLOSED", vp)); vgonel(vp); } else { busy++; |