From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6590 invoked by alias); 1 Jun 2010 12:08:52 -0000 Received: (qmail 6572 invoked by uid 9796); 1 Jun 2010 12:08:51 -0000 Date: Tue, 01 Jun 2010 12:08:00 -0000 Message-ID: <20100601120851.6570.qmail@sourceware.org> From: prajnoha@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW lib/format_text/format-text.c Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2010-06/txt/msg00000.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: prajnoha@sourceware.org 2010-06-01 12:08:51 Modified files: . : WHATS_NEW lib/format_text: format-text.c Log message: Fix incorrect memory pool deallocation while using vg_read for files. We create a separate pool "lvm2 vg_read" for vg_read and we don't use cmd->mem anymore. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1600&r2=1.1601 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/format-text.c.diff?cvsroot=lvm2&r1=1.121&r2=1.122 --- LVM2/WHATS_NEW 2010/05/28 03:50:15 1.1600 +++ LVM2/WHATS_NEW 2010/06/01 12:08:50 1.1601 @@ -1,5 +1,6 @@ Version 2.02.67 - =============================== + Fix incorrect memory pool deallocation while using vg_read for files. Add --type parameter description to the lvcreate man page. Replace strncmp kernel version number checks with proper ones. Avoid selecting names under /dev/block if there is an alternative. --- LVM2/lib/format_text/format-text.c 2010/04/14 13:09:16 1.121 +++ LVM2/lib/format_text/format-text.c 2010/06/01 12:08:50 1.122 @@ -814,7 +814,7 @@ * check that it contains the correct volume group. */ if (vgname && strcmp(vgname, vg->name)) { - dm_pool_free(fid->fmt->cmd->mem, vg); + dm_pool_destroy(vg->vgmem); log_error("'%s' does not contain volume group '%s'.", read_path, vgname); return NULL;