mirror of https://gitee.com/openkylin/linux.git
dm writecache: fix typo in name for writeback_wq
The workqueue's name should be "writecache-writeback" instead of "writecache-writeabck". Signed-off-by: Huaisheng Ye <yehs1@lenovo.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
parent
6bbc923dfc
commit
f87e033b3b
|
@ -1859,7 +1859,7 @@ static int writecache_ctr(struct dm_target *ti, unsigned argc, char **argv)
|
||||||
goto bad;
|
goto bad;
|
||||||
}
|
}
|
||||||
|
|
||||||
wc->writeback_wq = alloc_workqueue("writecache-writeabck", WQ_MEM_RECLAIM, 1);
|
wc->writeback_wq = alloc_workqueue("writecache-writeback", WQ_MEM_RECLAIM, 1);
|
||||||
if (!wc->writeback_wq) {
|
if (!wc->writeback_wq) {
|
||||||
r = -ENOMEM;
|
r = -ENOMEM;
|
||||||
ti->error = "Could not allocate writeback workqueue";
|
ti->error = "Could not allocate writeback workqueue";
|
||||||
|
|
Loading…
Reference in New Issue