dm mpath: rdac fix init race
authorBryn M. Reeves <breeves@redhat.com>
Fri, 19 Oct 2007 21:29:32 +0000 (22:29 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 20 Oct 2007 01:00:57 +0000 (02:00 +0100)
commitc7ac86de6a1bcb1b59c83e19b0d0d64a59604ade
tree6dba24ddd057340ce8fe8ce6b887b7d6ce4f4193
parent60812a4a99b796d894d2522dc63cb0fafc3be25e
dm mpath: rdac fix init race

Re-order the initialisation of dm-rdac to avoid registering the hw
handler before the workqueue has been initialised. Closes a race
that would potentially give an oops.

Signed-off-by: Bryn M. Reeves <breeves@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-mpath-rdac.c