]> sourceware.org Git - lvm2.git/commit
vgread: fix fid transfer for lvm1 and pool format
authorZdenek Kabelac <zkabelac@redhat.com>
Sun, 21 Apr 2013 19:36:08 +0000 (21:36 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Sun, 21 Apr 2013 21:13:57 +0000 (23:13 +0200)
commit1951798d7225dce35baa7689a308998f27379b6f
tree88b940bd3ac2d1fbe97b495e24c887907b94cae7
parent5e7eae59da2ce859e99c62b578f9164b87a1f944
vgread: fix fid transfer for lvm1 and pool format

Assign fid as the last step before returning VG.
Make the format reader for 'lvm1' and 'pool' equal to 'lvm2' format reader.

It has caused memory corruption to lvmetad as it later calls
destroy_instance() to allocated fid. This patch should fix problems
with crashing test lvmetad-lvm1.sh.
WHATS_NEW
lib/format1/format1.c
lib/format_pool/format_pool.c
This page took 0.035721 seconds and 5 git commands to generate.