git: dm - Major cleanup & module work

Alex Hornung alexh at crater.dragonflybsd.org
Thu Nov 25 03:14:45 PST 2010


commit 5c411e8edf9f238f491678601377d0946c91eed2
Author: Alex Hornung <ahornung at gmail.com>
Date:   Thu Nov 25 10:33:24 2010 +0000

    dm - Major cleanup & module work
    
    * Add module code to all the targets and get rid of the hackish global
      target insertion.
    
    * Clean up all sorts of dead code and crappy whitespaces. There isn't
      much point in maintaining whitespaces just to have a small diff to
      NetBSD since our diff is quite big now anyways.

Summary of changes:
 sys/dev/disk/dm/device-mapper.c    |   86 +++++++-----------------------------
 sys/dev/disk/dm/dm.h               |   37 ---------------
 sys/dev/disk/dm/dm_dev.c           |   47 -------------------
 sys/dev/disk/dm/dm_ioctl.c         |   13 +-----
 sys/dev/disk/dm/dm_pdev.c          |   23 ----------
 sys/dev/disk/dm/dm_target.c        |   72 +-----------------------------
 sys/dev/disk/dm/dm_target_crypt.c  |    3 +-
 sys/dev/disk/dm/dm_target_error.c  |   62 +++++++++++++++++++++++---
 sys/dev/disk/dm/dm_target_linear.c |   59 ++++++++++++++++++++++---
 sys/dev/disk/dm/dm_target_stripe.c |   59 ++++++++++++++++++++++---
 sys/dev/disk/dm/dm_target_zero.c   |   60 ++++++++++++++++++++++---
 11 files changed, 235 insertions(+), 286 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5c411e8edf9f238f491678601377d0946c91eed2


-- 
DragonFly BSD source repository





More information about the Commits mailing list