summaryrefslogtreecommitdiff
path: root/drivers/md/dm-io.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-11-12 04:05:27 +0300
committerMike Snitzer <snitzer@redhat.com>2016-11-14 23:17:50 +0300
commitd15bb3a6467e102e60d954aadda5fb19ce6fd8ec (patch)
tree5499a3ea35eceb92c936ff53679ea8d56b294920 /drivers/md/dm-io.c
parent2e8ed71102ff8fe3919dd3a2d73ac4da72686efc (diff)
downloadlinux-d15bb3a6467e102e60d954aadda5fb19ce6fd8ec.tar.xz
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>
Diffstat (limited to 'drivers/md/dm-io.c')
0 files changed, 0 insertions, 0 deletions