mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
aa5617c553
commit
96a1f7dba6
2 changed files with 33 additions and 0 deletions
|
@ -188,6 +188,7 @@ int dm_wait_event(struct mapped_device *md, int event_nr);
|
|||
* Info functions.
|
||||
*/
|
||||
const char *dm_device_name(struct mapped_device *md);
|
||||
int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid);
|
||||
struct gendisk *dm_disk(struct mapped_device *md);
|
||||
int dm_suspended(struct mapped_device *md);
|
||||
int dm_noflush_suspending(struct dm_target *ti);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue