[PATCH] xfs: Register hotcpu notifier after initialization

Ben Myers bpm at sgi.com
Mon Aug 19 17:21:29 CDT 2013


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 at nod.at>

Looks good.  Thanks Richard.

Reviewed-by: Ben Myers <bpm at sgi.com>



More information about the xfs mailing list