public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 lib/metadata/lv_manip.c tools/vgreduce.c
@ 2008-01-30 14:17 agk
0 siblings, 0 replies; only message in thread
From: agk @ 2008-01-30 14:17 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-30 14:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-30 14:17 LVM2 lib/metadata/lv_manip.c tools/vgreduce.c agk
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).