Skip to contentSkip to conversation

master - lvconvert: move poll code in before refactoring

PATCH okozina 1 participant 1 message Apr 1, 2015

lore
Share & tools
lore

okozina

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5190f566055ab4584772b1288fd8cbf69565eb4a
Commit:        5190f566055ab4584772b1288fd8cbf69565eb4a
Parent:        a098aa419f5be5d8f805ab6dc747770e58a4b7b1
Author:        Ondrej Kozina <[email protected]>
AuthorDate:    Thu Mar 12 16:23:19 2015 +0100
Committer:     Ondrej Kozina <[email protected]>
CommitterDate: Wed Apr 1 20:40:50 2015 +0200

lvconvert: move poll code in before refactoring

This commit has no impact on functionality. Code required to be visible outside lvconvert.c is just moved into new file lvconvert_poll.c and some calls are made non-static and declared in new header file lvconvert.h

---
 tools/Makefile.in      |    1 +
 tools/lvconvert.c      |  233 ++++--------------------------------------------
 tools/lvconvert_poll.c |  213 +++++++++++++++++++++++++++++++++++++++++++
 tools/lvconvert_poll.h |   61 +++++++++++++
 4 files changed, 294 insertions(+), 214 deletions(-)
tools/Makefile.in +1 -0
index 96cb91d..1d294dd 100644
@@ -21,6 +21,7 @@ SOURCES =\
 	formats.c \
 	lvchange.c \
 	lvconvert.c \
+	lvconvert_poll.c \
 	lvcreate.c \
 	lvdisplay.c \
 	lvextend.c \
tools/lvconvert.c +19 -214

292 lines not on this page · raw message

tools/lvconvert_poll.c new file +213 -0

213 lines not on this page · raw message

tools/lvconvert_poll.h new file +61 -0

61 lines not on this page · raw message