1
0
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:
Peter Rajnoha 2012-01-12 09:08:55 +00:00
parent 57fafd762f
commit 5bafde0b6f

View File

@ -395,7 +395,7 @@ static int _passes_activation_filter(struct cmd_context *cmd,
static int _passes_readonly_filter(struct cmd_context *cmd, static int _passes_readonly_filter(struct cmd_context *cmd,
struct logical_volume *lv) 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"))) if (!(cn = find_config_tree_node(cmd, "activation/read_only_volume_list")))
return 0; return 0;