diff options
-rw-r--r-- | drivers/md/dm.h | 1 | ||||
-rw-r--r-- | include/linux/device-mapper.h | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h index 911d434361dd..8812208978e3 100644 --- a/drivers/md/dm.h +++ b/drivers/md/dm.h | |||
@@ -46,7 +46,6 @@ void dm_table_presuspend_targets(struct dm_table *t); | |||
46 | void dm_table_postsuspend_targets(struct dm_table *t); | 46 | void dm_table_postsuspend_targets(struct dm_table *t); |
47 | int dm_table_resume_targets(struct dm_table *t); | 47 | int dm_table_resume_targets(struct dm_table *t); |
48 | int dm_table_any_congested(struct dm_table *t, int bdi_bits); | 48 | int dm_table_any_congested(struct dm_table *t, int bdi_bits); |
49 | void dm_table_unplug_all(struct dm_table *t); | ||
50 | 49 | ||
51 | /* | 50 | /* |
52 | * To check the return value from dm_table_find_target(). | 51 | * To check the return value from dm_table_find_target(). |
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 6b80961650f0..e462c7f3b391 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h | |||
@@ -238,6 +238,11 @@ int dm_table_add_target(struct dm_table *t, const char *type, | |||
238 | int dm_table_complete(struct dm_table *t); | 238 | int dm_table_complete(struct dm_table *t); |
239 | 239 | ||
240 | /* | 240 | /* |
241 | * Unplug all devices in a table. | ||
242 | */ | ||
243 | void dm_table_unplug_all(struct dm_table *t); | ||
244 | |||
245 | /* | ||
241 | * Table reference counting. | 246 | * Table reference counting. |
242 | */ | 247 | */ |
243 | struct dm_table *dm_get_table(struct mapped_device *md); | 248 | struct dm_table *dm_get_table(struct mapped_device *md); |