summaryrefslogtreecommitdiff
path: root/tools/pvmove_poll.c
diff options
context:
space:
mode:
authorOndrej Kozina <okozina@redhat.com>2015-05-05 16:06:24 +0200
committerOndrej Kozina <okozina@redhat.com>2015-05-05 20:51:34 +0200
commit22ae43a11ef9bea5ae3a9c6127bb1ed07f93d103 (patch)
tree34b53f9a4cda9e554ce62fcbf0d1a53b96bbcd76 /tools/pvmove_poll.c
parent991d646354a10e9953fdf0e75cb2a33a81f6ffef (diff)
downloadlvm2-22ae43a11ef9bea5ae3a9c6127bb1ed07f93d103.tar.gz
polldaemon: get get_copy_vg ready for refactoring
with refactored code we take some VG locks as read-only. Make the poll_get_copy_vg ready for the change.
Diffstat (limited to 'tools/pvmove_poll.c')
-rw-r--r--tools/pvmove_poll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/pvmove_poll.c b/tools/pvmove_poll.c
index cd3247627..eeaf390f4 100644
--- a/tools/pvmove_poll.c
+++ b/tools/pvmove_poll.c
@@ -203,7 +203,8 @@ int pvmove_finish(struct cmd_context *cmd, struct volume_group *vg,
}
struct volume_group *pvmove_get_copy_vg(struct cmd_context *cmd, const char *name,
- const char *uuid __attribute__((unused)))
+ const char *uuid __attribute__((unused)),
+ uint32_t flags __attribute__((unused)))
{
struct physical_volume *pv;
struct volume_group *vg;