mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
dev-type: add/fix references for dev_types in non-linux case
This commit is contained in:
parent
d4308a558d
commit
21f1062ef8
@ -549,7 +549,7 @@ unsigned long dev_discard_granularity(struct dev_types *dt, struct device *dev)
|
||||
|
||||
#else
|
||||
|
||||
int get_primary_dev(struct device *dev, dev_t *result)
|
||||
int dev_get_primary_dev(struct dev_types *dt, struct device *dev, dev_t *result)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@ -233,7 +233,7 @@ struct dev_filter *mpath_filter_create(struct dev_types *dt)
|
||||
|
||||
#else
|
||||
|
||||
struct dev_filter *mpath_filter_create(struct device_types *dt)
|
||||
struct dev_filter *mpath_filter_create(struct dev_types *dt)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user