mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
dm: add dm_table_device_name()
Add a shortcut for dm_device_name(dm_table_get_md(t)). Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
parent
800a7340ab
commit
f349b0a3e1
2 changed files with 7 additions and 0 deletions
|
@ -489,6 +489,7 @@ sector_t dm_table_get_size(struct dm_table *t);
|
|||
unsigned int dm_table_get_num_targets(struct dm_table *t);
|
||||
fmode_t dm_table_get_mode(struct dm_table *t);
|
||||
struct mapped_device *dm_table_get_md(struct dm_table *t);
|
||||
const char *dm_table_device_name(struct dm_table *t);
|
||||
|
||||
/*
|
||||
* Trigger an event.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue