Skip to contentSkip to conversation

master - device_mapper: move hash.[hc] to base/data-struct

PATCH Joe Thornber 1 participant 1 message Jun 8, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=61e67e51e112a317886fcfc70b2d479d08cbda90
Commit:        61e67e51e112a317886fcfc70b2d479d08cbda90
Parent:        962a3eb3faced455b0a10f8e7d4575bed65b8dbd
Author:        Joe Thornber <[email protected]>
AuthorDate:    Fri Jun 8 13:54:19 2018 +0100
Committer:     Joe Thornber <[email protected]>
CommitterDate: Fri Jun 8 13:54:19 2018 +0100

device_mapper: move hash.[hc] to base/data-struct

---
 base/Makefile                   |    1 +
 base/data-struct/hash.c         |  394 +++++++++++++++++++++++++++++++++++++++
 base/data-struct/hash.h         |   94 +++++++++
 device_mapper/Makefile          |    1 -
 device_mapper/all.h             |   89 +---------
 device_mapper/datastruct/hash.c |  393 --------------------------------------
 6 files changed, 490 insertions(+), 482 deletions(-)
base/Makefile +1 -0
index 4dcb6b6..02c4236 100644
@@ -12,6 +12,7 @@
 
 BASE_SOURCE=\
 	base/data-struct/radix-tree.c \
+	base/data-struct/hash.c \
 	base/data-struct/list.c
 
 BASE_DEPENDS=$(addprefix $(top_builddir)/,$(subst .c,.d,$(BASE_SOURCE)))
base/data-struct/hash.c new file +394 -0

394 lines not on this page · raw message

base/data-struct/hash.h new file +94 -0

94 lines not on this page · raw message

device_mapper/Makefile +0 -1
index da97675..3a1e415 100644
@@ -12,7 +12,6 @@
 
 DEVICE_MAPPER_SOURCE=\
 	device_mapper/datastruct/bitset.c \
-	device_mapper/datastruct/hash.c \
 	device_mapper/libdm-common.c \
 	device_mapper/libdm-config.c \
 	device_mapper/libdm-deptree.c \
device_mapper/all.h +1 -88

101 lines not on this page · raw message

device_mapper/datastruct/hash.c deleted +0 -393

393 lines not on this page · raw message