Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754231Ab3HVTLX (ORCPT ); Thu, 22 Aug 2013 15:11:23 -0400 Received: from relay1.sgi.com ([192.48.179.29]:54573 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753629Ab3HVTLW (ORCPT ); Thu, 22 Aug 2013 15:11:22 -0400 Date: Thu, 22 Aug 2013 14:11:17 -0500 From: Ben Myers To: Richard Weinberger Cc: elder@kernel.org, linux-kernel@vger.kernel.org, xfs@oss.sgi.com Subject: Re: [PATCH] xfs: Register hotcpu notifier after initialization Message-ID: <20130822191117.GQ5262@sgi.com> References: <1376945804-29508-1-git-send-email-richard@nod.at> <20130819222129.GA5262@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130819222129.GA5262@sgi.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 760 Lines: 19 On Mon, Aug 19, 2013 at 05:21:29PM -0500, Ben Myers wrote: > On Mon, Aug 19, 2013 at 10:56:44PM +0200, Richard Weinberger wrote: > > Currently the code initializizes mp->m_icsb_mutex and other things > > _after_ register_hotcpu_notifier(). > > As the notifier takes mp->m_icsb_mutex it can happen > > that it takes the lock before it's initialization. > > > > Signed-off-by: Richard Weinberger > > Looks good. Thanks Richard. > > Reviewed-by: Ben Myers Applied. Thanks Richard. -- 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/