All of lore.kernel.org
 help / color / mirror / Atom feed
* master - lvchange: backup VG after changing profile
@ 2013-07-12 11:17 Peter Rajnoha
  0 siblings, 0 replies; only message in thread
From: Peter Rajnoha @ 2013-07-12 11:17 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4d19fa9582a44a71a53647d6a7c6026955e805c7
Commit:        4d19fa9582a44a71a53647d6a7c6026955e805c7
Parent:        8e4a3dd9cb73e71df5f782f844da4cf461d76de6
Author:        Peter Rajnoha <prajnoha@redhat.com>
AuthorDate:    Thu Jul 11 12:25:10 2013 +0200
Committer:     Peter Rajnoha <prajnoha@redhat.com>
CommitterDate: Thu Jul 11 12:25:10 2013 +0200

lvchange: backup VG after changing profile

---
 tools/lvchange.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/lvchange.c b/tools/lvchange.c
index f7ce7fd..f4b5d07 100644
--- a/tools/lvchange.c
+++ b/tools/lvchange.c
@@ -882,6 +882,8 @@ static int lvchange_profile(struct logical_volume *lv)
 	if (!vg_write(lv->vg) || !vg_commit(lv->vg))
 		return_0;
 
+	backup(lv->vg);
+
 	return 1;
 }
 



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-12 11:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-12 11:17 master - lvchange: backup VG after changing profile Peter Rajnoha

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.