mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-11 09:18:25 +03:00
Missing const.
"warning: assignment discards 'const' qualifier..."
This commit is contained in:
parent
57fafd762f
commit
5bafde0b6f
@ -395,7 +395,7 @@ static int _passes_activation_filter(struct cmd_context *cmd,
|
||||
static int _passes_readonly_filter(struct cmd_context *cmd,
|
||||
struct logical_volume *lv)
|
||||
{
|
||||
struct dm_config_node *cn;
|
||||
const struct dm_config_node *cn;
|
||||
|
||||
if (!(cn = find_config_tree_node(cmd, "activation/read_only_volume_list")))
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user