[PATCH] device-mapper: Trigger an event when a table is deleted
authorgoggin, edward <egoggin@emc.com>
Wed, 28 Sep 2005 04:45:44 +0000 (21:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Sep 2005 14:46:42 +0000 (07:46 -0700)
commit269fd2a6f84828fd96218d164dace8c413fa5c03
tree20496da0d4e5c5a6096a0e690b5b603ace6f7baf
parent0f7347c20c410c300be0db4c132945fd02e54110
[PATCH] device-mapper: Trigger an event when a table is deleted

If anything is waiting on a device's table when the device is removed, we
must first wake it up so it will release its reference.  Otherwise the
table's reference count will not drop to zero and the table will not get
removed.

Signed-Off-By: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-ioctl.c