Skip to content

Commit ea0ec64

Browse files
Mikulas Patockakergon
authored andcommitted
dm: publish dm_table_unplug_all
Publish dm_table_unplug_all in include/linux/device-mapper.h because this function is used by targets. Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
1 parent 89343da commit ea0ec64

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

drivers/md/dm.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ void dm_table_presuspend_targets(struct dm_table *t);
4646
void dm_table_postsuspend_targets(struct dm_table *t);
4747
int dm_table_resume_targets(struct dm_table *t);
4848
int dm_table_any_congested(struct dm_table *t, int bdi_bits);
49-
void dm_table_unplug_all(struct dm_table *t);
5049

5150
/*
5251
* To check the return value from dm_table_find_target().

include/linux/device-mapper.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ int dm_table_add_target(struct dm_table *t, const char *type,
237237
*/
238238
int dm_table_complete(struct dm_table *t);
239239

240+
/*
241+
* Unplug all devices in a table.
242+
*/
243+
void dm_table_unplug_all(struct dm_table *t);
244+
240245
/*
241246
* Table reference counting.
242247
*/

0 commit comments

Comments
 (0)