kernel - VN - add missing disk_destroy() in module unload path
commitf31d07d7c51000e06197074816ce13f92489a135
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 2 Mar 2010 00:07:25 +0000 (1 16:07 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 2 Mar 2010 00:07:25 +0000 (1 16:07 -0800)
tree980578d0d7f80dbfcd1656d60ae83f6185edf1e1
parent1b5c5deba66061fb0e9fa8f60d506402675f9f11
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).
sys/dev/disk/vn/vn.c