DragonFly commits List (threaded) for 2010-11
git: vn - Major overhaul
Author: Alex Hornung <email@example.com>
Date: Fri Nov 19 09:18:18 2010 +0000
vn - Major overhaul
* Now that we can do proper disk cloning we do so. vn_create will now
return the top device of the disk (the one that belongs to the disk
subsystem and not us) if asked to do so. This is then passed back from
the clone handler so that we have a real cloned disk.
* Remove all sorts of old hacks, mostly related to finding vn's and
strange cdev lists that were not being used anymore anyways.
* Avoid the destruction/detachment of devices that are in use by keeping
track of whether they are open or not and checking the opencount
provided by the disk susbsystem.
* Fix a memory leak related to adding references to devs but never
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1561 (partly)
Summary of changes:
sys/dev/disk/vn/vn.c | 126 +++++++++++++++++++++++++-------------------------
1 files changed, 63 insertions(+), 63 deletions(-)
DragonFly BSD source repository