[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-commits
Subject:    git: vn - remove vn_softc from list on detach command
From:       Alex Hornung <alexh () crater ! dragonflybsd ! org>
Date:       2010-06-27 1:06:13
Message-ID: 201006270106.o5R16DNF022043 () crater ! dragonflybsd ! org
[Download RAW message or body]


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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic