summaryrefslogtreecommitdiffstats
path: root/lib/snapshot/snapshot.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2008-01-31 12:19:36 +0000
committerAlasdair Kergon <agk@redhat.com>2008-01-31 12:19:36 +0000
commit4e9083db106db41947c2eda15058f159b38aaf93 (patch)
tree3c4709f80605d6ede711c0d6a169feef8790d62a /lib/snapshot/snapshot.c
parent16e2a5aa3b7947af3f5ca85bc875b08a29b980f7 (diff)
downloadlvm2-4e9083db106db41947c2eda15058f159b38aaf93.tar.gz
lvm2-4e9083db106db41947c2eda15058f159b38aaf93.tar.xz
lvm2-4e9083db106db41947c2eda15058f159b38aaf93.zip
Fix mirror log name construction during lvconvert. (2.02.30)
Make monitor_dev_for_events recurse through the stack of LVs. Clean up some more compiler warnings. Add mirror names test script.
Diffstat (limited to 'lib/snapshot/snapshot.c')
-rw-r--r--lib/snapshot/snapshot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/snapshot/snapshot.c b/lib/snapshot/snapshot.c
index c8980be3..cb166f90 100644
--- a/lib/snapshot/snapshot.c
+++ b/lib/snapshot/snapshot.c
@@ -213,7 +213,8 @@ static int _target_registered(struct lv_segment *seg, int *pending)
}
/* FIXME This gets run while suspended and performs banned operations. */
-static int _target_set_events(struct lv_segment *seg, int events, int set)
+static int _target_set_events(struct lv_segment *seg,
+ int events __attribute((unused)), int set)
{
char *dso, *name;
struct volume_group *vg = seg->lv->vg;