]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r286237:
authortrasz <trasz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 Oct 2015 14:34:13 +0000 (14:34 +0000)
committertrasz <trasz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 Oct 2015 14:34:13 +0000 (14:34 +0000)
commitaa0538cfbea5c0034f162e7480a0be73854dcc4d
treeef386a207a76d5a8d6ce74e375ab104b07fb2ae5
parent969fcfee5caec461f14d0757ed88acb00065d539
MFC r286237:

Fix panic that would happen on forcibly unmounting devfs (note that
as it is now, devfs ignores MNT_FORCE anyway, so it needs to be modified
to trigger the panic) with consumers still opened.

Note that this still results in a leak of r/w/e counters.  It seems
to be harmless, though.  If anyone knows a better way to approach
this - please tell.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@289511 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/geom_dev.c