git: vn - remove vn_softc from list on detach command
Alex Hornung
alexh at crater.dragonflybsd.org
Sat Jun 26 18:07:10 PDT 2010
commit f6dbbf775f2d163a4a1bea1a68425ffe98961174
Author: Alex Hornung <ahornung at gmail.com>
Date: Sat Jun 26 17:09:57 2010 +0100
vn - remove vn_softc from list on detach command
* Remove the vn_softc out of the vn list when a detach command is
issued, additionally to calling disk_destroy().
* This was causing a panic when a reboot was issued after detaching a vn
device, as disk_destroy was effectively called twice on the same dp.
Summary of changes:
sys/dev/disk/vn/vn.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f6dbbf775f2d163a4a1bea1a68425ffe98961174
--
DragonFly BSD source repository
More information about the Commits
mailing list