]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dm writecache: fix typo in error msg for creating writecache_flush_thread
authorShenghui Wang <shhuiw@foxmail.com>
Wed, 24 Oct 2018 08:04:36 +0000 (16:04 +0800)
committerMike Snitzer <snitzer@redhat.com>
Tue, 18 Dec 2018 14:02:26 +0000 (09:02 -0500)
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>
drivers/md/dm-writecache.c

index 2d50eec94cd7afbc6dbf0b345e20bd60ddd6cfd7..2b8cee35e4d5a90daff8cc3e17a9cc3d0c90af83 100644 (file)
@@ -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);