From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10343 invoked by alias); 22 Feb 2008 13:22:25 -0000 Received: (qmail 10325 invoked by uid 9447); 22 Feb 2008 13:22:24 -0000 Date: Fri, 22 Feb 2008 13:22:00 -0000 Message-ID: <20080222132224.10323.qmail@sourceware.org> From: agk@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW lib/metadata/lv_manip.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: 2008-02/txt/msg00012.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: agk@sourceware.org 2008-02-22 13:22:21 Modified files: . : WHATS_NEW lib/metadata : lv_manip.c Log message: Add missing no-longer-used segs_using_this_lv test to check_lv_segments. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.795&r2=1.796 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/lv_manip.c.diff?cvsroot=lvm2&r1=1.150&r2=1.151 --- LVM2/WHATS_NEW 2008/02/15 14:12:32 1.795 +++ LVM2/WHATS_NEW 2008/02/22 13:22:19 1.796 @@ -1,17 +1,18 @@ Version 2.02.34 - =================================== - Remove redundant if-before-free tests in clvmd.c. - Avoid a compiler warning: make is_orphan's parameter "const". + Add missing no-longer-used segs_using_this_lv test to check_lv_segments. + Remove redundant non-NULL tests before calling free in clvmd.c. + Avoid a compiler warning: make is_orphan's parameter const. Fix lvconvert detection of mirror conversion in progress. (2.02.30) Avoid automatic lvconvert polldaemon invocation when -R specified. (2.02.30) Fix 'pvs -a' to detect VGs of PVs without metadata areas. Divide up internal orphan volume group by format type. Update usage message for clvmd. - Fix clvmd man page printing
, clarified debug options. - Fix lvresize to support /dev/mapper prefix in the lvname - Fix unfilled paramater passed to fsadm from lvresize - Update fsadm to call lvresize if the partition size differs (with option -l) - Fix fsadm to support vg/lv name (like the rest of lv-tools) + Fix clvmd man page not to print
and clarified debug options. + Fix lvresize to support /dev/mapper prefix in the LV name. + Fix unfilled parameter passed to fsadm from lvresize. + Update fsadm to call lvresize if the partition size differs (with option -l). + Fix fsadm to support VG/LV names. Version 2.02.33 - 31st January 2008 =================================== --- LVM2/lib/metadata/lv_manip.c 2008/01/30 14:17:29 1.150 +++ LVM2/lib/metadata/lv_manip.c 2008/02/22 13:22:21 1.151 @@ -2308,6 +2308,9 @@ parent->le_count != layer_lv->le_count) return_0; + if (!lv_empty(parent)) + return_0; + if (!_move_lv_segments(parent, layer_lv, 0, 0)) return_0;