DragonFly commits List (threaded) for 2011-04
git: kernel - Fix slice open mask tracking
Author: Matthew Dillon <email@example.com>
Date: Tue Apr 5 21:06:03 2011 -0700
kernel - Fix slice open mask tracking
* The slice open mask tracking was broken when more than one partition
on a raw disk device was opened. Fix the tracking.
* This should solve problems editing the partition information in the
disklabel for partitions which have been mounted and then unmounted.
* This should also solve problems with the related disk device and
designation (e.g. da8, da9) being properly disconnected when pulling
a USB stick.
Summary of changes:
sys/kern/subr_disk.c | 15 +++++++++++----
sys/kern/vfs_lock.c | 2 +-
sys/kern/vfs_subr.c | 6 ++++--
3 files changed, 16 insertions(+), 7 deletions(-)
DragonFly BSD source repository