lvm2/lvm2-2_02_132-fix-pv-label-processing-failure-after-pvcreate-in-lvm-shell-with-lvmetad.patch
2015-09-16 09:11:23 +02:00

29 lines
940 B
Diff

WHATS_NEW | 4 ++++
lib/format_text/format-text.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/WHATS_NEW b/WHATS_NEW
index b15ae48..e50ffd2 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,3 +1,7 @@
+Version 2.02.132 -
+======================================
+ Fix PV label processing failure after pvcreate in lvm shell with lvmetad.
+
Version 2.02.131 - 15th September 2015
======================================
Rename 'make install_full_man' to install_all_man and add all_man target.
diff --git a/lib/format_text/format-text.c b/lib/format_text/format-text.c
index 4544f26..e0ec8ed 100644
--- a/lib/format_text/format-text.c
+++ b/lib/format_text/format-text.c
@@ -1339,6 +1339,7 @@ static int _text_pv_write(const struct format_type *fmt, struct physical_volume
label = lvmcache_get_label(info);
label->sector = pv->label_sector;
+ label->dev = pv->dev;
lvmcache_update_pv(info, pv, fmt);