mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
o There's no need to prefix dm_dir() with /dev/ anymore
This commit is contained in:
parent
8f8cf896d6
commit
f2ec0e072e
@ -19,8 +19,7 @@
|
||||
|
||||
void _build_lv_path(char *buffer, size_t len, struct logical_volume *lv)
|
||||
{
|
||||
snprintf(buffer, len, "%s%s/%s_%s",
|
||||
lv->vg->cmd->dev_dir, dm_dir(), lv->vg->name, lv->name);
|
||||
snprintf(buffer, len, "%s/%s_%s", dm_dir(), lv->vg->name, lv->name);
|
||||
}
|
||||
|
||||
void _build_vg_path(char *buffer, size_t len, struct volume_group *vg)
|
||||
|
Loading…
Reference in New Issue
Block a user