]> sourceware.org Git - lvm2.git/commit
Use PV UUID in hash for device name when exporting metadata.
authorMilan Broz <mbroz@redhat.com>
Tue, 19 May 2009 09:48:32 +0000 (09:48 +0000)
committerMilan Broz <mbroz@redhat.com>
Tue, 19 May 2009 09:48:32 +0000 (09:48 +0000)
commita7cac2463c15c915636e511887f022b8cb63a97e
treede5c2394524d6639941b4bb4909fe0145486d906
parent474bc8823e22dba793c8301a5903aa99c2a7a923
Use PV UUID in hash for device name when exporting metadata.

Currently code uses pv_dev_name() for hash when getting internal
"pvX" name.

This produce corrupted metadata if PVs are missing, pv->dev
is NULL and all these missing devices returns one name
(using "unknown device" for all missing devices as hash key).
WHATS_NEW
lib/format_text/export.c
test/t-vgcfgbackup-usage.sh
This page took 0.038394 seconds and 5 git commands to generate.