summaryrefslogtreecommitdiff
path: root/cpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp.h')
0 files changed, 0 insertions, 0 deletions
et-next.git/tree/?h=packet-loop-back&id=937fa62e8a00d0b4bc2c0a40567d7c88ab2b2e8d'>b7e0c3256cb93bc1f5eb838d3f36039efbb7a56b /Documentation parentd09960b0032174eb493c4c13be5b9c9ef36dc9a7 (diff)
dm rq: clear kworker_task if kthread_run() returned an error
cleanup_mapped_device() calls kthread_stop() if kworker_task is non-NULL. Currently the assigned value could be a valid task struct or an error code (e.g -ENOMEM). Reset md->kworker_task to NULL if kthread_run() returned an erorr. Fixes: 7193a9defc ("dm rq: check kthread_run return for .request_fn request-based DM") Cc: stable@vger.kernel.org # 4.8 Reported-by: Tahsin Erdogan <tahsin@google.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation')