commit | d15bb3a6467e102e60d954aadda5fb19ce6fd8ec | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Fri Nov 11 17:05:27 2016 -0800 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Nov 14 15:17:50 2016 -0500 |
tree | 5499a3ea35eceb92c936ff53679ea8d56b294920 | |
parent | 2e8ed71102ff8fe3919dd3a2d73ac4da72686efc [diff] |
dm rq: fix a race condition in rq_completed() It is required to hold the queue lock when calling blk_run_queue_async() to avoid that a race between blk_run_queue_async() and blk_cleanup_queue() is triggered. Cc: stable@vger.kernel.org Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>