diff options
author | Shenghui Wang <shhuiw@foxmail.com> | 2018-10-24 11:04:36 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-12-18 17:02:26 +0300 |
commit | e8ea141a0f5e1d7b23f47d10c480d4fc55caaf14 (patch) | |
tree | b44647b23369275e59ebe7d96a394c420d6863bc /drivers/md/dm-writecache.c | |
parent | 53b471687012c80a8c03250cecf7121ffa8781f8 (diff) | |
download | linux-e8ea141a0f5e1d7b23f47d10c480d4fc55caaf14.tar.xz |
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>
Diffstat (limited to 'drivers/md/dm-writecache.c')
-rw-r--r-- | drivers/md/dm-writecache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |