From: zkabelac@sourceware.org <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./WHATS_NEW lib/metadata/metadata.c tools ...
Date: 22 Dec 2010 15:36:43 -0000 [thread overview]
Message-ID: <20101222153643.20331.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-12-22 15:36:42
Modified files:
. : WHATS_NEW
lib/metadata : metadata.c
tools : vgrename.c
Log message:
Add backtraces for backup and backup_remove fail paths
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1854&r2=1.1855
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata.c.diff?cvsroot=lvm2&r1=1.418&r2=1.419
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgrename.c.diff?cvsroot=lvm2&r1=1.73&r2=1.74
--- LVM2/WHATS_NEW 2010/12/22 15:28:44 1.1854
+++ LVM2/WHATS_NEW 2010/12/22 15:36:41 1.1855
@@ -1,5 +1,6 @@
Version 2.02.80 -
====================================
+ Add backtraces for backup and backup_remove fail paths.
Detect errors from dm_task_set calls in _get_device_info (dmeventd).
Add backtraces for archive and backup_locally in check_current_backup().
Fix memory leak in debug mode of restart_clvmd() error path.
--- LVM2/lib/metadata/metadata.c 2010/12/14 17:51:09 1.418
+++ LVM2/lib/metadata/metadata.c 2010/12/22 15:36:41 1.419
@@ -611,7 +611,8 @@
}
}
- backup_remove(vg->cmd, vg->name);
+ if (!backup_remove(vg->cmd, vg->name))
+ stack;
if (ret)
log_print("Volume group \"%s\" successfully removed", vg->name);
--- LVM2/tools/vgrename.c 2010/12/08 20:50:51 1.73
+++ LVM2/tools/vgrename.c 2010/12/22 15:36:42 1.74
@@ -164,8 +164,10 @@
}
}
- backup(vg);
- backup_remove(cmd, vg_name_old);
+ if (!backup(vg))
+ stack;
+ if (!backup_remove(cmd, vg_name_old))
+ stack;
unlock_vg(cmd, vg_name_new);
unlock_and_free_vg(cmd, vg, vg_name_old);
next reply other threads:[~2010-12-22 15:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-22 15:36 zkabelac [this message]
2011-01-04 23:59 ` LVM2 ./WHATS_NEW lib/metadata/metadata.c tools Alasdair G Kergon
-- strict thread matches above, loose matches on Subject: below --
2009-07-24 15:01 wysochanski
2008-08-29 13:41 mbroz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101222153643.20331.qmail@sourceware.org \
--to=zkabelac@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.