1
0
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:
Zdenek Kabelac 2021-10-16 10:09:02 +02:00
parent 9cf4eac250
commit a172a02a9a

View File

@ -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,
};