]> sourceware.org Git - lvm2.git/commitdiff
Make it compile with new lv_info_by_lvid() prototype
authorPatrick Caulfield <pcaulfie@redhat.com>
Wed, 14 Nov 2007 13:37:51 +0000 (13:37 +0000)
committerPatrick Caulfield <pcaulfie@redhat.com>
Wed, 14 Nov 2007 13:37:51 +0000 (13:37 +0000)
daemons/clvmd/lvm-functions.c

index 5d442c2d4b522c6abd29af277258a782d0a0bf69..7dfbb98f0756de1f5ec36c687f22bf718e278e2c 100644 (file)
@@ -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;
This page took 0.037765 seconds and 5 git commands to generate.