[PATCH 4.7 110/184] dm log writes: fix check of kthread_run() return value

2016-09-22 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Zapolskiy commit 91e630d9ae6de6f740ef7c8176736eb55366833e upstream. The kthread_run() function returns either a valid task_struct or ERR_PTR() value, check for NULL is

[PATCH 4.7 110/184] dm log writes: fix check of kthread_run() return value

2016-09-22 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Zapolskiy commit 91e630d9ae6de6f740ef7c8176736eb55366833e upstream. The kthread_run() function returns either a valid task_struct or ERR_PTR() value, check for NULL is invalid. This