提交 e8ea141a 编写于 作者: S Shenghui Wang 提交者: Mike Snitzer

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: NShenghui Wang <shhuiw@foxmail.com>
Signed-off-by: NMike Snitzer <snitzer@redhat.com>
上级 53b47168
......@@ -2061,7 +2061,7 @@ static int writecache_ctr(struct dm_target *ti, unsigned argc, char **argv)
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册