diff options
author | Alasdair Kergon <agk@redhat.com> | 2011-07-08 19:42:11 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2011-07-08 19:42:11 +0000 |
commit | 6585b5a197faeddc77b4228e40c3c2217512ef2f (patch) | |
tree | a5973a0db4d4b8a40cc71a8debb6db8aa727ba6b | |
parent | 9f65343fa616d99e3ae7b211749837a859992724 (diff) | |
download | lvm2-6585b5a197faeddc77b4228e40c3c2217512ef2f.tar.gz lvm2-6585b5a197faeddc77b4228e40c3c2217512ef2f.tar.xz lvm2-6585b5a197faeddc77b4228e40c3c2217512ef2f.zip |
remove unnecessary lvconvert.h
-rw-r--r-- | tools/lvconvert.c | 1 | ||||
-rw-r--r-- | tools/lvconvert.h | 2 | ||||
-rw-r--r-- | tools/tools.h | 3 | ||||
-rw-r--r-- | tools/vgreduce.c | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/tools/lvconvert.c b/tools/lvconvert.c index e99a81d3..73b9788f 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -16,7 +16,6 @@ #include "polldaemon.h" #include "lv_alloc.h" #include "metadata.h" -#include "lvconvert.h" struct lvconvert_params { int snapshot; diff --git a/tools/lvconvert.h b/tools/lvconvert.h deleted file mode 100644 index 8de8ccee..00000000 --- a/tools/lvconvert.h +++ /dev/null @@ -1,2 +0,0 @@ -int mirror_remove_missing(struct cmd_context *cmd, - struct logical_volume *lv, int force); diff --git a/tools/tools.h b/tools/tools.h index 1bfad13c..80ed353c 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -178,4 +178,7 @@ const char *command_name(struct cmd_context *cmd); int pvmove_poll(struct cmd_context *cmd, const char *pv, unsigned background); int lvconvert_poll(struct cmd_context *cmd, struct logical_volume *lv, unsigned background); +int mirror_remove_missing(struct cmd_context *cmd, + struct logical_volume *lv, int force); + #endif diff --git a/tools/vgreduce.c b/tools/vgreduce.c index f975b48e..bcf3fb03 100644 --- a/tools/vgreduce.c +++ b/tools/vgreduce.c @@ -15,7 +15,6 @@ #include "tools.h" #include "lv_alloc.h" -#include "lvconvert.h" static int _remove_pv(struct volume_group *vg, struct pv_list *pvl, int silent) { |