From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5817 invoked by alias); 11 Sep 2007 13:49:53 -0000 Received: (qmail 5802 invoked by uid 9657); 11 Sep 2007 13:49:52 -0000 Date: Tue, 11 Sep 2007 13:49:00 -0000 Message-ID: <20070911134952.5800.qmail@sourceware.org> From: wysochanski@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW lib/report/columns.h lib/repo ... 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: 2007-09/txt/msg00004.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: wysochanski@sourceware.org 2007-09-11 13:49:52 Modified files: . : WHATS_NEW lib/report : columns.h report.c Log message: Undo previous checkin - output format not good, info already available in other form(s) Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.703&r2=1.704 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/report/columns.h.diff?cvsroot=lvm2&r1=1.22&r2=1.23 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/report/report.c.diff?cvsroot=lvm2&r1=1.62&r2=1.63 --- LVM2/WHATS_NEW 2007/09/10 20:05:29 1.703 +++ LVM2/WHATS_NEW 2007/09/11 13:49:51 1.704 @@ -1,6 +1,5 @@ Version 2.02.29 - ================================== - Add pvseg_free field to 'pvs' output. Include strerror string in dev_open_flags' stat failure message. Move guts of pvresize into library. Avoid error when --corelog is provided without --mirrorlog. (2.02.28) --- LVM2/lib/report/columns.h 2007/09/10 20:05:29 1.22 +++ LVM2/lib/report/columns.h 2007/09/11 13:49:51 1.23 @@ -83,5 +83,4 @@ FIELD(PVSEGS, pvseg, NUM, "Start", pe, 5, uint32, "pvseg_start", "Physical Extent number of start of segment.") FIELD(PVSEGS, pvseg, NUM, "SSize", len, 5, uint32, "pvseg_size", "Number of extents in segment.") -FIELD(PVSEGS, pvseg, STR, "Free", lvseg, 5, lvseg, "pvseg_free", "Whether the segment is free or allocated to an LV.") /* *INDENT-ON* */ --- LVM2/lib/report/report.c 2007/09/10 20:05:29 1.62 +++ LVM2/lib/report/report.c 2007/09/11 13:49:52 1.63 @@ -62,15 +62,6 @@ /* * Data-munging functions to prepare each data type for display and sorting */ -static int _lvseg_disp(struct dm_report *rh, struct dm_pool *mem __attribute((unused)), - struct dm_report_field *field, - const void *data, void *private __attribute((unused))) -{ - const struct lv_segment *seg = *(const struct lv_segment **) data; - dm_report_field_set_value(field, seg ? "N" : "Y", NULL); - return 1; -} - static int _string_disp(struct dm_report *rh, struct dm_pool *mem __attribute((unused)), struct dm_report_field *field, const void *data, void *private __attribute((unused)))