aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorMike Snitzer <[email protected]>2016-09-01 11:59:33 -0400
committerMike Snitzer <[email protected]>2016-09-14 13:56:38 -0400
commit9dbeaeabacb26260d1621fe58f0f6fdedc8860d4 (patch)
tree4a2ead82f0a872b5046b44df407b37ca8a3065a9 /lib/mpi/mpi-bit.c
parent2397a15aff35b5b4eed732ce81fda5a9d15053f9 (diff)
dm rq: take request_queue lock while clearing QUEUE_FLAG_STOPPED
Every call of queue_flag_clear_unlocked() after block device initialization has finished is wrong if blk_cleanup_queue() can be called concurrently. Convert queue_flag_clear_unlocked() into queue_flag_clear() and protect it by the block layer queue lock. Also, factor out dm_mq_start_queue(). Reported-by: Bart Van Assche <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Cc: [email protected]
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions