xfs
[Top] [All Lists]

Re: [PATCH] xfs: Register hotcpu notifier after initialization

To: Richard Weinberger <richard@xxxxxx>
Subject: Re: [PATCH] xfs: Register hotcpu notifier after initialization
From: Ben Myers <bpm@xxxxxxx>
Date: Mon, 19 Aug 2013 17:21:29 -0500
Cc: xfs@xxxxxxxxxxx, elder@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1376945804-29508-1-git-send-email-richard@xxxxxx>
References: <1376945804-29508-1-git-send-email-richard@xxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
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 <richard@xxxxxx>

Looks good.  Thanks Richard.

Reviewed-by: Ben Myers <bpm@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>