* [PATCH] md: fix the checking of wrong work queue
@ 2020-10-08 3:19 Guoqing Jiang
2020-10-08 6:36 ` Song Liu
0 siblings, 1 reply; 2+ messages in thread
From: Guoqing Jiang @ 2020-10-08 3:19 UTC (permalink / raw)
To: song; +Cc: linux-raid, Guoqing Jiang
It should check md_rdev_misc_wq instead of md_misc_wq.
Fixes: cc1ffe6 ("md: add new workqueue for delete rdev")
Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
---
drivers/md/md.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 6072782..cd3c249 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -9545,7 +9545,7 @@ static int __init md_init(void)
goto err_misc_wq;
md_rdev_misc_wq = alloc_workqueue("md_rdev_misc", 0, 0);
- if (!md_misc_wq)
+ if (!md_rdev_misc_wq)
goto err_rdev_misc_wq;
if ((ret = register_blkdev(MD_MAJOR, "md")) < 0)
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-08 6:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 3:19 [PATCH] md: fix the checking of wrong work queue Guoqing Jiang
2020-10-08 6:36 ` Song Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).