dm: add dm_deleting_md function
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)
commit432a212c0dd0f4ca386cf37c5b740ac9dbda4479
tree0eb05111e9290856c9e7543e5d12e1e3ee0c8ef3
parent6df400ab64c68fc4072a13019fc20fd7e3d51303
dm: add dm_deleting_md function

Add dm_deleting_md to check whether or not a given mapped
device is currently being deleted.

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