git: kernel - VN - add missing disk_destroy() in module unload path

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 1 16:14:01 PST 2010


commit f31d07d7c51000e06197074816ce13f92489a135
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Mar 1 16:07:25 2010 -0800

    kernel - VN - add missing disk_destroy() in module unload path
    
    * The module unload was leaving the disk list corrupted.  Add a missing
      disk_destroy() call.
    
    * Fixes certain bulk-build issues (apparently the bulk build tries to
      unload and reload the VN driver at some point for reasons unknown).

Summary of changes:
 sys/dev/disk/vn/vn.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f31d07d7c51000e06197074816ce13f92489a135


-- 
DragonFly BSD source repository





More information about the Commits mailing list