master - reports: invalid snaps do not capitalise lv_attr
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4dbf872a9fc0aac34f73fd8214cc75846554e501 Commit: 4dbf872a9fc0aac34f73fd8214cc75846554e501 Parent: 25ae0b39b77d80990d0821729ab4f2307bd38c16 Author: Alasdair G Kergon <[email protected]> AuthorDate: Fri Jul 27 20:19:28 2012 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Fri Jul 27 20:19:28 2012 +0100
reports: invalid snaps do not capitalise lv_attr
No longer capitalise first LV attribute char for invalid snapshots. This state is available from the 5th char now (I or S).
--- WHATS_NEW | 1 + lib/metadata/lv.c | 1 - 2 files changed, 1 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.97 - =============================== + No longer capitalise first LV attribute char for invalid snapshots. Allow vgextend to add PVs to a VG that is missing PVs. Recognise Micron PCIe SSDs in filter and move array out to device-types.h. Fix segfault when attempting to replace RAID 4/5/6 device (2.02.97).
lib/metadata/lv.c +0 -1
@@ -448,7 +448,6 @@ char *lv_attr_dup(struct dm_pool *mem, const struct logical_volume *lv)if (info.live_table &&lv_is_cow (lv)) {if (!lv_snapshot_percent (lv, &snap_percent) || snap_percent ==PERCENT_INVALID ) { - repstr[0 ] =toupper (repstr[0 ]);if (info.suspended) repstr[4 ] ='S' ;/* Susp Inv snapshot */ else