/kernel/locking/

00faffec16c5aaa0ac5e15449'>2e91c3694181dc500faffec16c5aaa0ac5e15449 (patch) tree2cbe93e2dd3ccee8e242ef3d9736e0bb990138b0 parent41c73a49df31151f4ff868f28fe4f129f113fa2c (diff)
dm: use blk_set_queue_dying() in __dm_destroy()
After QUEUE_FLAG_DYING has been set any code that is waiting in get_request() should be woken up. But to get this behaviour blk_set_queue_dying() must be used instead of only setting QUEUE_FLAG_DYING. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat