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

2013-08-22 Thread Ben Myers
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 >

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

2013-08-19 Thread Ben Myers
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-

[PATCH] xfs: Register hotcpu notifier after initialization

2013-08-19 Thread Richard Weinberger
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 --- fs/xfs/xfs_mount.c | 13 +++-- 1 file chang