summaryrefslogtreecommitdiffstats
path: root/lib/snapshot/snapshot.c
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2008-04-07 10:23:47 +0000
committerMilan Broz <mbroz@redhat.com>2008-04-07 10:23:47 +0000
commit5619c629f6c75f6d91d36748ce6f1bfc39f2acc3 (patch)
treea3ab3b882547b1feec8f1773a81dc9f08348c0a5 /lib/snapshot/snapshot.c
parent9da5d7ac02b527c286c94355a249c59fd3ad5476 (diff)
downloadlvm2-5619c629f6c75f6d91d36748ce6f1bfc39f2acc3.tar.gz
lvm2-5619c629f6c75f6d91d36748ce6f1bfc39f2acc3.tar.xz
lvm2-5619c629f6c75f6d91d36748ce6f1bfc39f2acc3.zip
Add detection of clustered mirror log capability.
Currently only check for kernel module presence.
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 cb166f90..6437970c 100644
--- a/lib/snapshot/snapshot.c
+++ b/lib/snapshot/snapshot.c
@@ -114,7 +114,8 @@ static int _snap_target_percent(void **target_state __attribute((unused)),
return 1;
}
-static int _snap_target_present(const struct lv_segment *seg __attribute((unused)))
+static int _snap_target_present(const struct lv_segment *seg __attribute((unused)),
+ unsigned *attributes __attribute((unused)))
{
static int _snap_checked = 0;
static int _snap_present = 0;