summaryrefslogtreecommitdiffstats
path: root/tools/pvchange.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2002-01-09 13:17:14 +0000
committerAlasdair Kergon <agk@redhat.com>2002-01-09 13:17:14 +0000
commit614a4508e6964ed53f8174d9f7dbd3c5997b4ee2 (patch)
tree6fa0fc29352077d33806b927060012d301d63007 /tools/pvchange.c
parent89f1e3ddf0b43923c6cd56a00489f1af935a214d (diff)
downloadlvm2-614a4508e6964ed53f8174d9f7dbd3c5997b4ee2.tar.gz
lvm2-614a4508e6964ed53f8174d9f7dbd3c5997b4ee2.tar.xz
lvm2-614a4508e6964ed53f8174d9f7dbd3c5997b4ee2.zip
Add archiving.
Diffstat (limited to 'tools/pvchange.c')
-rw-r--r--tools/pvchange.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/pvchange.c b/tools/pvchange.c
index 32a44aec..e375a8af 100644
--- a/tools/pvchange.c
+++ b/tools/pvchange.c
@@ -103,6 +103,8 @@ int pvchange_single(struct physical_volume *pv)
return 0;
}
pv = &list_item(pvh, struct pv_list)->pv;
+ if (!archive(vg))
+ return 0;
}
/* change allocatability for a PV */