dm rq: check kthread_run return for .request_fn request-based DM
authorMike Snitzer <snitzer@redhat.com>
Wed, 6 Jul 2016 13:06:37 +0000 (09:06 -0400)
committerMike Snitzer <snitzer@redhat.com>
Wed, 6 Jul 2016 13:06:37 +0000 (09:06 -0400)
commit7193a9defcab6f3d3f1eb64c68bad7534e5a39ad
treeb11124a507678ec506395d879377e2da3c481a30
parent602d1657c603eedd7379a8bcde1ad3a2972ecc5f
dm rq: check kthread_run return for .request_fn request-based DM

Check return value of kthread_run() in dm_old_init_request_queue().

Reported-by: Minfei Huang <mnghuan@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-rq.c