summaryrefslogtreecommitdiffstats
path: root/block/ioprio.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-11-12 02:05:27 +0100
committerMike Snitzer <snitzer@redhat.com>2016-11-14 21:17:50 +0100
commitd15bb3a6467e102e60d954aadda5fb19ce6fd8ec (patch)
tree5499a3ea35eceb92c936ff53679ea8d56b294920 /block/ioprio.c
parentdm block manager: make block locking optional (diff)
downloadlinux-d15bb3a6467e102e60d954aadda5fb19ce6fd8ec.tar.xz
linux-d15bb3a6467e102e60d954aadda5fb19ce6fd8ec.zip
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 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions