From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28163 invoked by alias); 22 Dec 2010 15:32:17 -0000 Received: (qmail 28146 invoked by uid 9737); 22 Dec 2010 15:32:16 -0000 Date: Wed, 22 Dec 2010 15:32:00 -0000 Message-ID: <20101222153216.28144.qmail@sourceware.org> From: zkabelac@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-12/txt/msg00071.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2010-12-22 15:32:16 Modified files: lib/activate : dev_manager.c Log message: Hide unused code into if 0 Make it obvious for lcov coverage and static analyzis we are not interested in this piece of code. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/dev_manager.c.diff?cvsroot=lvm2&r1=1.209&r2=1.210 --- LVM2/lib/activate/dev_manager.c 2010/12/20 14:04:43 1.209 +++ LVM2/lib/activate/dev_manager.c 2010/12/22 15:32:15 1.210 @@ -306,6 +306,7 @@ return dinfo; } +#if 0 /* FIXME Interface must cope with multiple targets */ static int _status_run(const char *name, const char *uuid, unsigned long long *s, unsigned long long *l, @@ -383,6 +384,7 @@ return 0; } +#endif int lv_has_target_type(struct dm_pool *mem, struct logical_volume *lv, const char *layer, const char *target_type)