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

From: Ben Myers
Date: Thu Aug 22 2013 - 15:11:25 EST


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 <richard@xxxxxx>
>
> Looks good. Thanks Richard.
>
> Reviewed-by: Ben Myers <bpm@xxxxxxx>

Applied. Thanks Richard.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/