dm ioctl: forbid messages to devices being deleted
authorMike Anderson <andmike@linux.vnet.ibm.com>
Thu, 10 Dec 2009 23:52:20 +0000 (23:52 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 10 Dec 2009 23:52:20 +0000 (23:52 +0000)
commitc50abeb38026ea721a812cf8a9b2fac5d3b7684b
tree755a412a2aa8bacf35a278f1009229c64424b03c
parent432a212c0dd0f4ca386cf37c5b740ac9dbda4479
dm ioctl: forbid messages to devices being deleted

Once we begin deleting a device, prevent any further messages being sent
to targets of its table (to avoid races).

Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c