dm writecache: fix typo in error msg for creating writecache_flush_thread

The error msg should be "flush thread" instead of "endio thread"
for writecache_flush_thread.

Signed-off-by: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
Shenghui Wang 2018-10-24 16:04:36 +08:00 коммит произвёл Mike Snitzer
Родитель 53b4716870
Коммит e8ea141a0f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2061,7 +2061,7 @@ invalid_optional:
if (IS_ERR(wc->flush_thread)) {
r = PTR_ERR(wc->flush_thread);
wc->flush_thread = NULL;
ti->error = "Couldn't spawn endio thread";
ti->error = "Couldn't spawn flush thread";
goto bad;
}
wake_up_process(wc->flush_thread);