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

From: Ben Myers
Date: Mon Aug 19 2013 - 18:21:33 EST


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>
--
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/