]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
dm: mark request_queue dead before destroying the DM device
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 31 Aug 2016 22:17:49 +0000 (15:17 -0700)
committerMike Snitzer <snitzer@redhat.com>
Wed, 14 Sep 2016 17:56:38 +0000 (13:56 -0400)
commit3b785fbcf81c3533772c52b717f77293099498d3
tree365626385e69b8ce18ae85e0177e2f1ea61995e9
parent8dc23658b7aaa8b6b0609c81c8ad75e98b612801
dm: mark request_queue dead before destroying the DM device

This avoids that new requests are queued while __dm_destroy() is in
progress.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
drivers/md/dm.c