Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262043AbUKPRWG (ORCPT ); Tue, 16 Nov 2004 12:22:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262059AbUKPRWG (ORCPT ); Tue, 16 Nov 2004 12:22:06 -0500 Received: from mx1.redhat.com ([66.187.233.31]:35488 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S262043AbUKPRTa (ORCPT ); Tue, 16 Nov 2004 12:19:30 -0500 Date: Tue, 16 Nov 2004 17:18:54 +0000 From: Alasdair G Kergon To: Andries Brouwer Cc: Keith Owens , linux-kernel@vger.kernel.org Subject: Re: 2.6.10-rc2 dm.c dm_init unresolved reference to _exits Message-ID: <20041116171854.GB24233@agk.surrey.redhat.com> Mail-Followup-To: Alasdair G Kergon , Andries Brouwer , Keith Owens , linux-kernel@vger.kernel.org References: <27983.1100493381@kao2.melbourne.sgi.com> <20041115112323.GI9939@apps.cwi.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041115112323.GI9939@apps.cwi.nl> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 861 Lines: 20 On Mon, Nov 15, 2004 at 12:23:23PM +0100, Andries Brouwer wrote: > On Mon, Nov 15, 2004 at 03:36:21PM +1100, Keith Owens wrote: > > drivers/md/dm.c dm_int refers to _exits which is defined as __exitdata. > > With CONFIG_HOTPLUG=n, __exitdata is discarded > Yes - thanks for reminding - thought of that yesterday night > but forgot again the next morning. In fact that's the second time someone's introduced a bug like that in this code: to save someone else from doing it again, please also add a comment that the exit functions may be called during init (if an init function fails). Alasdair -- agk@redhat.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/