]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit588639e486c99ce38c969baf9c1337a6923c1463
tree20496da0d4e5c5a6096a0e690b5b603ace6f7baf
parentd138ba1bccdd1919cfec10755b9560acc6125af1
[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