DragonFly BSD
DragonFly commits List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Fix slice open mask tracking


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Apr 2011 21:11:17 -0700 (PDT)

commit 2d5beb816b67efa1ff2c95587b78b442b1f1b249
Author: Matthew Dillon <dillon@apollo.backplane.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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2d5beb816b67efa1ff2c95587b78b442b1f1b249


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]