aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorMike Anderson <andmike@linux.vnet.ibm.com>2009-12-10 18:52:20 -0500
committerAlasdair G Kergon <agk@redhat.com>2009-12-10 18:52:20 -0500
commit432a212c0dd0f4ca386cf37c5b740ac9dbda4479 (patch)
tree0eb05111e9290856c9e7543e5d12e1e3ee0c8ef3 /drivers/md/dm.h
parent6df400ab64c68fc4072a13019fc20fd7e3d51303 (diff)
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>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r--drivers/md/dm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h
index 4a95e8fa3607..604a5f2a2383 100644
--- a/drivers/md/dm.h
+++ b/drivers/md/dm.h
@@ -89,6 +89,11 @@ int dm_target_iterate(void (*iter_func)(struct target_type *tt,
89int dm_split_args(int *argc, char ***argvp, char *input); 89int dm_split_args(int *argc, char ***argvp, char *input);
90 90
91/* 91/*
92 * Is this mapped_device being deleted?
93 */
94int dm_deleting_md(struct mapped_device *md);
95
96/*
92 * The device-mapper can be driven through one of two interfaces; 97 * The device-mapper can be driven through one of two interfaces;
93 * ioctl or filesystem, depending which patch you have applied. 98 * ioctl or filesystem, depending which patch you have applied.
94 */ 99 */