Re: [dm-devel] [PATCH] dm: Return correct value in retry loop

2016-09-11 Thread Minfei Huang
Ping. Any comment is appreciate. Thanks Minfei On 09/06/16 at 04:00P, Minfei Huang wrote: > dm_resume will return sliently in retry loop's failure. Assign a correct > return value in the failed loop. > > Remove a useless assignment as well. > > Signed-off-by: Minfei Hua

[dm-devel] [PATCH] dm: Return correct value in retry loop

2016-09-06 Thread Minfei Huang
dm_resume will return sliently in retry loop's failure. Assign a correct return value in the failed loop. Remove a useless assignment as well. Signed-off-by: Minfei Huang --- drivers/md/dm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/md/dm.c b/drive

Re: [dm-devel] [PATCH RESENT] dm: Check kthread_run's return value

2016-07-06 Thread Minfei Huang
On 07/06/16 at 09:31P, Mike Snitzer wrote: > On Wed, Jul 06 2016 at 9:27am -0400, > Minfei Huang wrote: > > > On 07/06/16 at 09:16P, Mike Snitzer wrote: > > > On Mon, Jul 04 2016 at 11:25am -0400, > > > Minfei Huang wrote: > > > > > > >

Re: [dm-devel] [PATCH RESENT] dm: Check kthread_run's return value

2016-07-06 Thread Minfei Huang
On 07/06/16 at 09:16P, Mike Snitzer wrote: > On Mon, Jul 04 2016 at 11:25am -0400, > Minfei Huang wrote: > > > kthread function is used to process kthread_work. And there is no return > > value checking during create this thread. Add this checking to fix this > > is

[dm-devel] [PATCH RESENT] dm: Check kthread_run's return value

2016-07-05 Thread Minfei Huang
kthread function is used to process kthread_work. And there is no return value checking during create this thread. Add this checking to fix this issue. Signed-off-by: Minfei Huang --- drivers/md/dm.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/md/dm.c

[dm-devel] [PATCH] dm: Check kthread_run's return value

2016-06-22 Thread Minfei Huang
kthread function is used to process kthread_work. And there is no return value checking during create this thread. Add this checking to fix this issue. Signed-off-by: Minfei Huang Signed-off-by: Minfei Huang --- drivers/md/dm.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions