From: Shenghui Wang Date: Wed, 24 Oct 2018 08:04:36 +0000 (+0800) Subject: dm writecache: fix typo in error msg for creating writecache_flush_thread X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e8ea141a0f5e1d7b23f47d10c480d4fc55caaf14;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Mike Snitzer --- diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c index 2d50eec94cd7..2b8cee35e4d5 100644 --- a/drivers/md/dm-writecache.c +++ b/drivers/md/dm-writecache.c @@ -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);