projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d837f72
)
md: fix the checking of wrong work queue
author
Guoqing Jiang
<guoqing.jiang@cloud.ionos.com>
Thu, 8 Oct 2020 03:19:09 +0000
(
05:19
+0200)
committer
Song Liu
<songliubraving@fb.com>
Fri, 9 Oct 2020 05:36:30 +0000
(22:36 -0700)
It should check md_rdev_misc_wq instead of md_misc_wq.
Fixes:
cc1ffe61c026
("md: add new workqueue for delete rdev")
Cc: <stable@vger.kernel.org> # v5.8+
Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/md.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index dfff4bb2bb20fc21f91776df473d8d4b77d6d81b..f1c6304c79f471fe03131c1ff145c0384d869b28 100644
(file)
--- a/
drivers/md/md.c
+++ b/
drivers/md/md.c
@@
-9565,7
+9565,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)