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

git: dm - Disallow active vol removal; ret err of ioctl cmd


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Nov 2010 23:48:00 -0800 (PST)

commit 956c8d716bb0166e3061a37d96d0415ef44f564c
Author: Alex Hornung <ahornung@gmail.com>
Date:   Fri Nov 19 07:01:11 2010 +0000

    dm - Disallow active vol removal; ret err of ioctl cmd
    
    * Disallow the removal of volumes that are currently in use (determined
      by whether they are open or not).
    
    * Return the error of the actual ioctl command that was executed and not
      of some prop copyout.
    
    Reported-by: Sascha Wildner

Summary of changes:
 sys/dev/disk/dm/device-mapper.c |   39 +++++++++++++++++++++++++++++++++++----
 sys/dev/disk/dm/dm.h            |    1 +
 sys/dev/disk/dm/dm_ioctl.c      |    6 ++++++
 3 files changed, 42 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/956c8d716bb0166e3061a37d96d0415ef44f564c


-- 
DragonFly BSD source repository



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