Commit e8ea141a authored by Shenghui Wang's avatar Shenghui Wang Committed by Mike Snitzer
Browse files

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: default avatarShenghui Wang <shhuiw@foxmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 53b47168
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2061,7 +2061,7 @@ invalid_optional:
		if (IS_ERR(wc->flush_thread)) {
		if (IS_ERR(wc->flush_thread)) {
			r = PTR_ERR(wc->flush_thread);
			r = PTR_ERR(wc->flush_thread);
			wc->flush_thread = NULL;
			wc->flush_thread = NULL;
			ti->error = "Couldn't spawn endio thread";
			ti->error = "Couldn't spawn flush thread";
			goto bad;
			goto bad;
		}
		}
		wake_up_process(wc->flush_thread);
		wake_up_process(wc->flush_thread);