public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
From: agk@sourceware.org
To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org
Subject: LVM2 lib/metadata/lv_manip.c tools/vgreduce.c
Date: Wed, 30 Jan 2008 14:17:00 -0000	[thread overview]
Message-ID: <20080130141730.29298.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2008-01-30 14:17:29

Modified files:
	lib/metadata   : lv_manip.c 
	tools          : vgreduce.c 

Log message:
	undo a few 'stack' moves

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/lv_manip.c.diff?cvsroot=lvm2&r1=1.149&r2=1.150
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgreduce.c.diff?cvsroot=lvm2&r1=1.77&r2=1.78

--- LVM2/lib/metadata/lv_manip.c	2008/01/30 14:00:00	1.149
+++ LVM2/lib/metadata/lv_manip.c	2008/01/30 14:17:29	1.150
@@ -1752,13 +1752,15 @@
 	backup(vg);
 
 	if (!suspend_lv(cmd, lv)) {
+		stack;
 		vg_revert(vg);
-		return_0;
+		return 0;
 	}
 
 	if (!vg_commit(vg)) {
+		stack;
 		resume_lv(cmd, lv);
-		return_0;
+		return 0;
 	}
 
 	resume_lv(cmd, lv);
--- LVM2/tools/vgreduce.c	2008/01/30 14:00:02	1.77
+++ LVM2/tools/vgreduce.c	2008/01/30 14:17:29	1.78
@@ -211,9 +211,10 @@
 			/* Suspend lvs_changed */
 			init_partial(1);
 			if (!suspend_lvs(cmd, &lvs_changed)) {
+				stack;
 				init_partial(0);
 				vg_revert(vg);
-				return_0;
+				return 0;
 			}
 			init_partial(0);
 		}


                 reply	other threads:[~2008-01-30 14:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20080130141730.29298.qmail@sourceware.org \
    --to=agk@sourceware.org \
    --cc=lvm-devel@redhat.com \
    --cc=lvm2-cvs@sourceware.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).