[dm-devel] [PATCH] dm writecache: fix typo in error msg for creating writecache_flush_thread

2018-10-25 Thread Shenghui Wang
The error msg should be "flush thread" instead of "endio thread"
for writecache_flush_thread.

Signed-off-by: Shenghui Wang 
---
 drivers/md/dm-writecache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c
index 5f1f80d424dd..d656bd1799ae 100644
--- a/drivers/md/dm-writecache.c
+++ b/drivers/md/dm-writecache.c
@@ -2064,7 +2064,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);
-- 
2.18.0

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


Re: [dm-devel] [PATCH] dm writecache: fix typo in error msg for creating writecache_flush_thread

2018-10-24 Thread Mikulas Patocka



On Wed, 24 Oct 2018, Shenghui Wang wrote:

> The error msg should be "flush thread" instead of "endio thread"
> for writecache_flush_thread.
> 
> Signed-off-by: Shenghui Wang 

OK.

Acked-by: Mikulas Patocka 

> ---
>  drivers/md/dm-writecache.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c
> index 5f1f80d424dd..d656bd1799ae 100644
> --- a/drivers/md/dm-writecache.c
> +++ b/drivers/md/dm-writecache.c
> @@ -2064,7 +2064,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);
> -- 
> 2.18.0
> 
> 
> 

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel