mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Couple of typos fixed.
This commit is contained in:
parent
ee27c57b58
commit
4c0d6e283a
@ -333,7 +333,7 @@ static int _accept_format(struct dev_filter *f, struct device *dev)
|
||||
/* We just want to know if it's labelled or not */
|
||||
static int _accept_label(struct dev_filter *f, struct device *dev)
|
||||
{
|
||||
return is_labelled(dev);
|
||||
return lvm2_is_labelled(NULL, dev);
|
||||
}
|
||||
|
||||
static void _destroy(struct dev_filter *f)
|
||||
@ -555,7 +555,7 @@ static struct labeller this_labeller =
|
||||
};
|
||||
|
||||
/* Don't know how this gets called... */
|
||||
void lvm2_init()
|
||||
void lvm2_label_init()
|
||||
{
|
||||
label_register_handler("LVM2", &this_labeller);
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ struct lvm2_label
|
||||
#define VERSION_MATCH_LESSEQUAL 3
|
||||
#define VERSION_MATCH_ANY 4
|
||||
|
||||
extern struct dev_filter *label_filter_create();
|
||||
extern struct dev_filter *label_format_filter_create(char *disk_type, uint32_t version[3], int match_type);
|
||||
extern struct dev_filter *lvm2_label_filter_create();
|
||||
extern struct dev_filter *lvm2_label_format_filter_create(char *disk_type, uint32_t version[3], int match_type);
|
||||
|
Loading…
Reference in New Issue
Block a user