[PATCH] xfs: Register hotcpu notifier after initialization
Ben Myers
bpm at sgi.com
Thu Aug 22 14:11:17 CDT 2013
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 at nod.at>
>
> Looks good. Thanks Richard.
>
> Reviewed-by: Ben Myers <bpm at sgi.com>
Applied. Thanks Richard.
More information about the xfs
mailing list