git: dm - change remove_all traversal direction

Alex Hornung alexh at crater.dragonflybsd.org
Sun Jul 3 08:36:36 PDT 2011


commit 8bb01ea78eb6dff56932acdcd623aa3ecd19acea
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sun Jul 3 16:33:25 2011 +0100

    dm - change remove_all traversal direction
    
     * Make remove_all iterate backwards, so that devices that depend on
       other dm volumes created earlier are removed first; otherwise
       remove_all stops at the first dm volume on which another one depends.

Summary of changes:
 sys/dev/disk/dm/dm_dev.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8bb01ea78eb6dff56932acdcd623aa3ecd19acea


-- 
DragonFly BSD source repository





More information about the Commits mailing list