diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2008-10-10 08:37:11 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-10-10 08:37:11 -0400 |
commit | ea0ec640940c2ae3a8d71af3249fccf06a9997a3 (patch) | |
tree | 1ee9b5f228d1ab415d1853eed6508e2f2b85ef5e /include/linux/device-mapper.h | |
parent | 89343da077ad564ed130c46e5ea6a79388410fa5 (diff) |
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 <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r-- | include/linux/device-mapper.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |