mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
cleanup: use const char buffer
This commit is contained in:
parent
9cf4eac250
commit
a172a02a9a
@ -503,7 +503,7 @@ static int _create_sanlock_lv(struct cmd_context *cmd, struct volume_group *vg,
|
||||
.read_ahead = DM_READ_AHEAD_NONE,
|
||||
.stripes = 1,
|
||||
.vg_name = vg->name,
|
||||
.lv_name = dm_pool_strdup(cmd->mem, lock_lv_name),
|
||||
.lv_name = lock_lv_name,
|
||||
.zero = 1,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user