Skip to content

Commit fb4caaf

Browse files
committed
Move common LVM code to a separate file
A lot of functions are the same in both CLI and DBus plugin.
1 parent 85ecd7a commit fb4caaf

File tree

5 files changed

+812
-1509
lines changed

5 files changed

+812
-1509
lines changed

src/plugins/lvm/Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ libbd_lvm_la_CPPFLAGS = -I${builddir}/../../../include/ -I${srcdir}/../ -I. -DPA
2424
libbd_lvm_la_SOURCES = \
2525
lvm.c \
2626
lvm.h \
27+
lvm-private.h \
28+
lvm-common.c \
2729
vdo_stats.c \
2830
vdo_stats.h \
2931
../check_deps.c \
@@ -45,6 +47,8 @@ libbd_lvm_dbus_la_CPPFLAGS = -I${builddir}/../../../include/ -I${srcdir}/../ -I.
4547
libbd_lvm_dbus_la_SOURCES = \
4648
lvm-dbus.c \
4749
lvm.h \
50+
lvm-private.h \
51+
lvm-common.c \
4852
vdo_stats.c \
4953
vdo_stats.h \
5054
../check_deps.c \

0 commit comments

Comments
 (0)