diff options
author | Alasdair Kergon <agk@redhat.com> | 2008-11-03 22:14:30 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2008-11-03 22:14:30 +0000 |
commit | 2c44337bd5ff7aa217a39003460cba4742a1b867 (patch) | |
tree | 96e88ac95f4a573f099338ec48df36c9c55ff926 /tools/pvremove.c | |
parent | 28f60ff82f7c13236475129295a88a01d61838c7 (diff) | |
download | lvm2-2c44337bd5ff7aa217a39003460cba4742a1b867.tar.gz lvm2-2c44337bd5ff7aa217a39003460cba4742a1b867.tar.xz lvm2-2c44337bd5ff7aa217a39003460cba4742a1b867.zip |
Right, a simple build (without options) is working again.
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r-- | tools/pvremove.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c index acf598d6..9912711c 100644 --- a/tools/pvremove.c +++ b/tools/pvremove.c @@ -25,9 +25,9 @@ const char _really_wipe[] = static int pvremove_check(struct cmd_context *cmd, const char *name) { struct physical_volume *pv; - struct list mdas; + struct dm_list mdas; - list_init(&mdas); + dm_list_init(&mdas); /* FIXME Check partition type is LVM unless --force is given */ @@ -47,7 +47,7 @@ static int pvremove_check(struct cmd_context *cmd, const char *name) * means checking every VG by scanning every * PV on the system. */ - if (is_orphan(pv) && !list_size(&mdas)) { + if (is_orphan(pv) && !dm_list_size(&mdas)) { if (!scan_vgs_for_pvs(cmd)) { log_error("Rescan for PVs without metadata areas " "failed."); |