From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5590 invoked by alias); 15 Jul 2009 05:48:37 -0000 Received: (qmail 5575 invoked by uid 9699); 15 Jul 2009 05:48:37 -0000 Date: Wed, 15 Jul 2009 05:48:00 -0000 Message-ID: <20090715054837.5573.qmail@sourceware.org> From: mornfall@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/tools lvchange.c Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00079.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: mornfall@sourceware.org 2009-07-15 05:48:36 Modified files: tools : lvchange.c Log message: Take just a read lock when activating in lvchange. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvchange.c.diff?cvsroot=lvm2&r1=1.106&r2=1.107 --- LVM2/tools/lvchange.c 2009/07/15 05:47:55 1.106 +++ LVM2/tools/lvchange.c 2009/07/15 05:48:36 1.107 @@ -732,6 +732,7 @@ return EINVALID_CMD_LINE; } - return process_each_lv(cmd, argc, argv, READ_FOR_UPDATE, NULL, + return process_each_lv(cmd, argc, argv, + avail_only ? 0 : READ_FOR_UPDATE, NULL, &lvchange_single); }