DragonFly BSD
DragonFly commits List (threaded) for 2010-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: vn - remove vn_softc from list on detach command


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Jun 2010 18:06:13 -0700 (PDT)

commit f6dbbf775f2d163a4a1bea1a68425ffe98961174
Author: Alex Hornung <ahornung@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]