From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3386 invoked by alias); 23 Feb 2010 15:49:54 -0000 Received: (qmail 3355 invoked by uid 9699); 23 Feb 2010 15:49:53 -0000 Date: Tue, 23 Feb 2010 15:49:00 -0000 Message-ID: <20100223154953.3353.qmail@sourceware.org> From: mornfall@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/lib/activate dev_manager.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: 2010-02/txt/msg00043.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: mornfall@sourceware.org 2010-02-23 15:49:52 Modified files: lib/activate : dev_manager.c Log message: Add _mlog devices to dependency trees using UUID, not name, in activation. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/dev_manager.c.diff?cvsroot=lvm2&r1=1.181&r2=1.182 --- LVM2/lib/activate/dev_manager.c 2010/02/17 22:59:46 1.181 +++ LVM2/lib/activate/dev_manager.c 2010/02/23 15:49:52 1.182 @@ -840,7 +840,8 @@ if (!_add_dev_to_dtree(dm, dtree, lv, "cow")) return_0; - if (!_add_dev_to_dtree(dm, dtree, lv, "_mlog")) + if ((lv->status & MIRRORED) && first_seg(lv)->log_lv && + !_add_dev_to_dtree(dm, dtree, first_seg(lv)->log_lv, NULL)) return_0; return 1;