From: Dave Wysochanski Date: Sat, 24 Jan 2009 16:43:54 -0500 Subject: [PATCH updated] Convert vgreduce to use vg_read_for_update. In-Reply-To: <1232619010-4858-9-git-send-email-prockai> References: <1232619010-4858-9-git-send-email-prockai> Message-ID: <1232833435-2917-1-git-send-email-dwysocha@redhat.com> List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit One line removed from original patch: Remove incorrect unlock_vg() in vgreduce_single() error path. If dev_get_size() fails we don't have the orphan lock yet so don't try to unlock.