Skip to content
Commit 8b765398 authored by NeilBrown's avatar NeilBrown
Browse files

md: move allocation of ->queue from mddev_find to md_probe



It is more balanced to just do simple initialisation in mddev_find,
which allocates and links a new md device, and leave all the
more sophisticated allocation to md_probe (which calls mddev_find).
md_probe already allocated the gendisk.  It should allocate the
queue too.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent cd2ac932
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment