}
/* 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)
}
/* 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) {
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;