summaryrefslogtreecommitdiffstats
path: root/tools/toollib.h
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2006-11-02 23:33:20 +0000
committerAlasdair Kergon <agk@redhat.com>2006-11-02 23:33:20 +0000
commit1c3c2df9e9a1fa5d6f191c4cbf0c9a2b7801cb83 (patch)
treea15e3a3dd7d4d9800606cf722a5e4961084f074f /tools/toollib.h
parentdf52a8b52a2e471069c091938d068796b4e7e116 (diff)
downloadlvm2-1c3c2df9e9a1fa5d6f191c4cbf0c9a2b7801cb83.tar.gz
lvm2-1c3c2df9e9a1fa5d6f191c4cbf0c9a2b7801cb83.tar.xz
lvm2-1c3c2df9e9a1fa5d6f191c4cbf0c9a2b7801cb83.zip
Fix mirror log LV writing to set all bits in whole LV.
Diffstat (limited to 'tools/toollib.h')
-rw-r--r--tools/toollib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/toollib.h b/tools/toollib.h
index b670a97f..71c5cdd9 100644
--- a/tools/toollib.h
+++ b/tools/toollib.h
@@ -101,6 +101,7 @@ struct logical_volume *create_mirror_log(struct cmd_context *cmd,
const char *lv_name,
int in_sync);
-int set_lv(struct cmd_context *cmd, struct logical_volume *lv, int value);
+int set_lv(struct cmd_context *cmd, struct logical_volume *lv, size_t len,
+ int value);
#endif