diff options
author | Mike Anderson <andmike@linux.vnet.ibm.com> | 2007-10-19 17:47:59 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2007-10-19 21:01:23 -0400 |
commit | 96a1f7dba6e464155c0d1dc69c6c2efa96b644ac (patch) | |
tree | 8051a11c07624c9e5f9b049273462c307c447624 /include | |
parent | aa5617c55357d86c9082ba1d66fa9795370c9954 (diff) |
dm: export name and uuid
This patch adds a function to obtain a copy of a mapped device's name and uuid.
Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/device-mapper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 499f5373e213..8b3c7cdc599c 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h | |||
@@ -188,6 +188,7 @@ int dm_wait_event(struct mapped_device *md, int event_nr); | |||
188 | * Info functions. | 188 | * Info functions. |
189 | */ | 189 | */ |
190 | const char *dm_device_name(struct mapped_device *md); | 190 | const char *dm_device_name(struct mapped_device *md); |
191 | int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid); | ||
191 | struct gendisk *dm_disk(struct mapped_device *md); | 192 | struct gendisk *dm_disk(struct mapped_device *md); |
192 | int dm_suspended(struct mapped_device *md); | 193 | int dm_suspended(struct mapped_device *md); |
193 | int dm_noflush_suspending(struct dm_target *ti); | 194 | int dm_noflush_suspending(struct dm_target *ti); |