diff options
| author | Vladimir Zapolskiy <vz@mleia.com> | 2016-03-10 01:22:19 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-24 10:07:40 +0200 |
| commit | 52fe28832acd3a5174e94a3439af8d3b51968b37 (patch) | |
| tree | 18d9f7011aae1932194e7436130d44860ae37066 /scripts | |
| parent | 3c328c32e6798036243f179dca895fff7bb70253 (diff) | |
dm log writes: fix check of kthread_run() return value
commit 91e630d9ae6de6f740ef7c8176736eb55366833e upstream.
The kthread_run() function returns either a valid task_struct or
ERR_PTR() value, check for NULL is invalid. This change fixes potential
for oops, e.g. in OOM situation.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
