From: Patrick Caulfield Date: Wed, 14 Nov 2007 13:37:51 +0000 (+0000) Subject: Make it compile with new lv_info_by_lvid() prototype X-Git-Tag: v2_02_91~3908 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=96b250d62505662440fcc8251dd0536e8f6a474f;p=lvm2.git Make it compile with new lv_info_by_lvid() prototype --- diff --git a/daemons/clvmd/lvm-functions.c b/daemons/clvmd/lvm-functions.c index 5d442c2d4..7dfbb98f0 100644 --- a/daemons/clvmd/lvm-functions.c +++ b/daemons/clvmd/lvm-functions.c @@ -223,7 +223,7 @@ static int do_activate_lv(char *resource, unsigned char lock_flags, int mode) } /* If it's suspended then resume it */ - if (!lv_info_by_lvid(cmd, resource, &lvi, 0)) + if (!lv_info_by_lvid(cmd, resource, &lvi, 0, 0)) return EIO; if (lvi.suspended) @@ -269,7 +269,7 @@ static int do_suspend_lv(char *resource) } /* Only suspend it if it exists */ - if (!lv_info_by_lvid(cmd, resource, &lvi, 0)) + if (!lv_info_by_lvid(cmd, resource, &lvi, 0, 0)) return EIO; if (lvi.exists) { @@ -414,7 +414,7 @@ int post_lock_lv(unsigned char command, unsigned char lock_flags, struct lvinfo lvi; pthread_mutex_lock(&lvm_lock); - status = lv_info_by_lvid(cmd, resource, &lvi, 0); + status = lv_info_by_lvid(cmd, resource, &lvi, 0, 0); pthread_mutex_unlock(&lvm_lock); if (!status) return EIO;