From: Alasdair Kergon <agk@fedoraproject.org>
To: lvm-devel@redhat.com
Subject: master - cleanup: add stacktrace for error path
Date: Wed, 10 Sep 2014 22:02:04 +0000 (UTC) [thread overview]
Message-ID: <20140910220204.4BC896115D@fedorahosted.org> (raw)
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=319f67b1abd8b391958c8cd6d396c590bb5225be
Commit: 319f67b1abd8b391958c8cd6d396c590bb5225be
Parent: c774d9a3f35c312d5b24c4ba13da707ccd975194
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Mon Sep 8 22:36:42 2014 +0200
Committer: Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Mon Sep 8 22:36:42 2014 +0200
cleanup: add stacktrace for error path
---
lib/metadata/lv_manip.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c
index fcf9975..60aa6f8 100644
--- a/lib/metadata/lv_manip.c
+++ b/lib/metadata/lv_manip.c
@@ -3963,13 +3963,13 @@ int lv_rename_update(struct cmd_context *cmd, struct logical_volume *lv,
}
if (update_mda && !archive(vg))
- return 0;
+ return_0;
/* rename sub LVs */
lv_names.old = lv->name;
lv_names.new = new_name;
if (!for_each_sub_lv(lv, _rename_cb, (void *) &lv_names))
- return 0;
+ return_0;
/* rename main LV */
if (!(lv->name = dm_pool_strdup(cmd->mem, new_name))) {
next reply other threads:[~2014-09-10 22:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-10 22:02 Alasdair Kergon [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-09-10 20:05 master - cleanup: add stacktrace for error path Zdenek Kabelac
2014-09-09 17:23 Zdenek Kabelac
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=20140910220204.4BC896115D@fedorahosted.org \
--to=agk@fedoraproject.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.