From: zkabelac@sourceware.org <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./WHATS_NEW daemons/dmeventd/dmeventd.c
Date: 28 Feb 2011 19:47:23 -0000 [thread overview]
Message-ID: <20110228194723.2144.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-02-28 19:47:23
Modified files:
. : WHATS_NEW
daemons/dmeventd: dmeventd.c
Log message:
Test result of dm_task_set_uuid
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1930&r2=1.1931
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/dmeventd/dmeventd.c.diff?cvsroot=lvm2&r1=1.74&r2=1.75
--- LVM2/WHATS_NEW 2011/02/28 19:35:09 1.1930
+++ LVM2/WHATS_NEW 2011/02/28 19:47:22 1.1931
@@ -1,5 +1,6 @@
Version 2.02.85 -
===================================
+ Add test for failed allocation from dm_task_set_uuid() in dmeventd.
Improve pvremove error message when PV belongs to a VG.
Extend normal policy to allow mirror logs on same PVs as images if necessary.
Improve cling policy to recognise PVs already used during the transaction.
--- LVM2/daemons/dmeventd/dmeventd.c 2011/01/17 23:14:05 1.74
+++ LVM2/daemons/dmeventd/dmeventd.c 2011/02/28 19:47:22 1.75
@@ -387,7 +387,9 @@
if (!dmt)
return 0;
- dm_task_set_uuid(dmt, ts->device.uuid);
+ if (!dm_task_set_uuid(dmt, ts->device.uuid))
+ goto fail;
+
if (!dm_task_run(dmt))
goto fail;
@@ -732,7 +734,8 @@
if (!dmt)
return NULL;
- dm_task_set_uuid(dmt, ts->device.uuid);
+ if (!dm_task_set_uuid(dmt, ts->device.uuid))
+ return NULL;
if (!dm_task_run(dmt)) {
dm_task_destroy(dmt);
next reply other threads:[~2011-02-28 19:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-28 19:47 zkabelac [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-12-21 13:03 LVM2 ./WHATS_NEW daemons/dmeventd/dmeventd.c zkabelac
2010-12-20 14:08 zkabelac
2010-03-31 12:01 mpatocka
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=20110228194723.2144.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.