Re: [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: > > > > > > > kthread function is used to process kthread_work. And the

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

2016-07-06 Thread Mike Snitzer
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: > > > > > kthread function is used to process kthread_work. And there is no return > > > value checking during create this thr

Re: [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 > > issue. > > > > Signed-off-by: Mi

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

2016-07-06 Thread Mike Snitzer
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 > issue. > > Signed-off-by: Minfei Huang > --- > drivers/md/dm.c | 11 +-- > 1

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

2016-07-04 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