]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfaf2843c071340d7c0cda0cc19becf76297fe6c4
tree6dba24ddd057340ce8fe8ce6b887b7d6ce4f4193
parent70b45a6e039a772a346c6fdc2276c5ebdfb38a55
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