1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +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 b5ca3d1ed0
commit 5d5c80ace7

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;