Project

General

Profile

Actions

Submit #2967

closed

[PATCH] sys/dev/disk/dm: Remove dm/targets/ directory and move its entries to dm/

Added by tkusumi about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
11/26/2016
Due date:
% Done:

0%

Estimated time:

Description

https://leaf.dragonflybsd.org/~tkusumi/diff/0001-sys-dev-disk-dm-Remove-dm-targets-directory-and-move.patch
-------------
From 68c7bb9bc75173344186b31c5601a1a0f141acbd Mon Sep 17 00:00:00 2001
Date: Sat, 26 Nov 2016 12:46:41 +0900
Subject: [PATCH] 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.
-------------

  • This too-long-path is annoying for anyone for no reason.
  • This change doesn't screw up git blame result.
  • Let me know if there is any side effect or anywhere else that needs to be modified from this removal.
Actions

Also available in: Atom PDF