public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
From: wysochanski@sourceware.org
To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org
Subject: LVM2/tools pvchange.c
Date: Wed, 19 May 2010 13:21:00 -0000	[thread overview]
Message-ID: <20100519132113.5655.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski@sourceware.org	2010-05-19 13:21:11

Modified files:
	tools          : pvchange.c 

Log message:
	Remove hack in pvchange to unlock orphan VG.
	
	With agk's recent changes, the lock/unlock APIs can properly handle
	orphan VG names.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/pvchange.c.diff?cvsroot=lvm2&r1=1.74&r2=1.75

--- LVM2/tools/pvchange.c	2010/05/19 11:53:00	1.74
+++ LVM2/tools/pvchange.c	2010/05/19 13:21:09	1.75
@@ -263,9 +263,6 @@
 								 pvl->pv,
 								 NULL);
 				}
-				/* FIXME: we should be using #orphans_lvm2 everwhere */
-				if (is_orphan_vg(vg->name))
-					sll->str = VG_ORPHANS;
 				unlock_and_release_vg(cmd, vg, sll->str);
 			}
 		}


             reply	other threads:[~2010-05-19 13:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19 13:21 wysochanski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-06-28 20:38 wysochanski
2010-05-19 15:34 wysochanski
2010-05-19 11:53 wysochanski
2008-07-31 12:40 agk

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=20100519132113.5655.qmail@sourceware.org \
    --to=wysochanski@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).