mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Rename dev_manager_mknodes -> dev_manager_lv_mknodes etc.
This commit is contained in:
parent
685d88b26a
commit
f09fe0ad0f
@ -736,9 +736,9 @@ int lv_mknodes(struct cmd_context *cmd, const struct logical_volume *lv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (info.exists)
|
if (info.exists)
|
||||||
r = dev_manager_mknodes(lv);
|
r = dev_manager_lv_mknodes(lv);
|
||||||
else
|
else
|
||||||
r = dev_manager_rmnodes(lv);
|
r = dev_manager_lv_rmnodes(lv);
|
||||||
|
|
||||||
fs_unlock();
|
fs_unlock();
|
||||||
|
|
||||||
|
@ -2183,7 +2183,7 @@ int dev_manager_suspend(struct dev_manager *dm, struct logical_volume *lv)
|
|||||||
return _action(dm, lv, SUSPEND);
|
return _action(dm, lv, SUSPEND);
|
||||||
}
|
}
|
||||||
|
|
||||||
int dev_manager_mknodes(const struct logical_volume *lv)
|
int dev_manager_lv_mknodes(const struct logical_volume *lv)
|
||||||
{
|
{
|
||||||
char *name;
|
char *name;
|
||||||
|
|
||||||
@ -2196,7 +2196,7 @@ int dev_manager_mknodes(const struct logical_volume *lv)
|
|||||||
return fs_add_lv(lv, name);
|
return fs_add_lv(lv, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
int dev_manager_rmnodes(const struct logical_volume *lv)
|
int dev_manager_lv_rmnodes(const struct logical_volume *lv)
|
||||||
{
|
{
|
||||||
return fs_del_lv(lv);
|
return fs_del_lv(lv);
|
||||||
}
|
}
|
||||||
|
@ -38,8 +38,8 @@ int dev_manager_suspend(struct dev_manager *dm, struct logical_volume *lv);
|
|||||||
int dev_manager_activate(struct dev_manager *dm, struct logical_volume *lv);
|
int dev_manager_activate(struct dev_manager *dm, struct logical_volume *lv);
|
||||||
int dev_manager_deactivate(struct dev_manager *dm, struct logical_volume *lv);
|
int dev_manager_deactivate(struct dev_manager *dm, struct logical_volume *lv);
|
||||||
|
|
||||||
int dev_manager_mknodes(const struct logical_volume *lv);
|
int dev_manager_lv_mknodes(const struct logical_volume *lv);
|
||||||
int dev_manager_rmnodes(const struct logical_volume *lv);
|
int dev_manager_lv_rmnodes(const struct logical_volume *lv);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Put the desired changes into effect.
|
* Put the desired changes into effect.
|
||||||
|
Loading…
Reference in New Issue
Block a user