git: sys/dev/disk/dm: Remove dm/targets/ directory and move its entries to dm/

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Nov 26 08:06:22 PST 2016


commit f603807b2c8b9b8ca8a7a99e36eeb70cd39b460d
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Nov 26 12:46:41 2016 +0900

    sys/dev/disk/dm: Remove dm/targets/ directory and move its entries to dm/
    
    Device mapper targets' path
    sys/dev/disk/dm/targets/<name>/dm_target_<name>.c
    are too deep for no reason.
    
    This commit removes targets/ directory which isn't necessary at all,
    assuming userspace has no dependencies on this (and it shouldn't either).
    
    Neither NetBSD (sys/dev/dm/dm_target_*.c) nor Linux kernel (drivers/md/dm*.c)
    has a directory tree like this, which is better.

Summary of changes:
 sys/conf/files                                              | 10 +++++-----
 sys/dev/disk/dm/Makefile                                    |  2 +-
 sys/dev/disk/dm/{targets => }/crypt/Makefile                |  0
 sys/dev/disk/dm/{targets => }/crypt/dm_target_crypt.c       |  0
 sys/dev/disk/dm/{targets => }/delay/Makefile                |  0
 sys/dev/disk/dm/{targets => }/delay/dm_target_delay.c       |  0
 sys/dev/disk/dm/{targets => }/dmirror/Makefile              |  0
 sys/dev/disk/dm/{targets => }/dmirror/dm_target_dmirror.c   |  0
 sys/dev/disk/dm/{targets => }/dmirror/dmirror_notes.txt     |  0
 sys/dev/disk/dm/{targets => }/flakey/Makefile               |  0
 sys/dev/disk/dm/{targets => }/flakey/dm_target_flakey.c     |  0
 sys/dev/disk/dm/{targets => }/linear/Makefile               |  0
 sys/dev/disk/dm/{targets => }/linear/dm_target_linear.c     |  0
 sys/dev/disk/dm/{targets => }/mirror/dm_target_mirror.c     |  0
 sys/dev/disk/dm/{targets => }/snapshot/dm_target_snapshot.c |  0
 sys/dev/disk/dm/{targets => }/striped/Makefile              |  0
 sys/dev/disk/dm/{targets => }/striped/dm_target_striped.c   |  0
 sys/dev/disk/dm/targets/Makefile                            |  3 ---
 18 files changed, 6 insertions(+), 9 deletions(-)
 rename sys/dev/disk/dm/{targets => }/crypt/Makefile (100%)
 rename sys/dev/disk/dm/{targets => }/crypt/dm_target_crypt.c (100%)
 rename sys/dev/disk/dm/{targets => }/delay/Makefile (100%)
 rename sys/dev/disk/dm/{targets => }/delay/dm_target_delay.c (100%)
 rename sys/dev/disk/dm/{targets => }/dmirror/Makefile (100%)
 rename sys/dev/disk/dm/{targets => }/dmirror/dm_target_dmirror.c (100%)
 rename sys/dev/disk/dm/{targets => }/dmirror/dmirror_notes.txt (100%)
 rename sys/dev/disk/dm/{targets => }/flakey/Makefile (100%)
 rename sys/dev/disk/dm/{targets => }/flakey/dm_target_flakey.c (100%)
 rename sys/dev/disk/dm/{targets => }/linear/Makefile (100%)
 rename sys/dev/disk/dm/{targets => }/linear/dm_target_linear.c (100%)
 rename sys/dev/disk/dm/{targets => }/mirror/dm_target_mirror.c (100%)
 rename sys/dev/disk/dm/{targets => }/snapshot/dm_target_snapshot.c (100%)
 rename sys/dev/disk/dm/{targets => }/striped/Makefile (100%)
 rename sys/dev/disk/dm/{targets => }/striped/dm_target_striped.c (100%)
 delete mode 100644 sys/dev/disk/dm/targets/Makefile

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f603807b2c8b9b8ca8a7a99e36eeb70cd39b460d


-- 
DragonFly BSD source repository



More information about the Commits mailing list