Skip to contentSkip to conversation

master - pvmove: 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=a098aa419f5be5d8f805ab6dc747770e58a4b7b1
Commit:        a098aa419f5be5d8f805ab6dc747770e58a4b7b1
Parent:        bf2d831e7e9ceb7fe0528dba8587a4157b4ac789
Author:        Ondrej Kozina <[email protected]>
AuthorDate:    Thu Mar 12 16:21:43 2015 +0100
Committer:     Ondrej Kozina <[email protected]>
CommitterDate: Wed Apr 1 20:40:39 2015 +0200

pvmove: move poll code in before refactoring

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

---
 tools/Makefile.in   |    1 +
 tools/pvmove.c      |  348 ++-------------------------------------------------
 tools/pvmove_poll.c |  341 +++++++++++++++++++++++++++++++++++++++++++++++++
 tools/pvmove_poll.h |   45 +++++++
 4 files changed, 396 insertions(+), 339 deletions(-)
tools/Makefile.in +1 -0
index 5c1583f..96cb91d 100644
@@ -38,6 +38,7 @@ SOURCES =\
 	pvcreate.c \
 	pvdisplay.c \
 	pvmove.c \
+	pvmove_poll.c \
 	pvremove.c \
 	pvresize.c \
 	pvscan.c \
tools/pvmove.c +9 -339

404 lines not on this page · raw message

tools/pvmove_poll.c new file +341 -0

341 lines not on this page · raw message

tools/pvmove_poll.h new file +45 -0

45 lines not on this page · raw message