[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/lib/activate activate.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	prajnoha sourceware org	2012-01-12 09:08:55

Modified files:
	lib/activate   : activate.c 

Log message:
	Missing const.
	
	"warning: assignment discards 'const' qualifier..."

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/activate.c.diff?cvsroot=lvm2&r1=1.227&r2=1.228

--- LVM2/lib/activate/activate.c	2012/01/12 01:51:56	1.227
+++ LVM2/lib/activate/activate.c	2012/01/12 09:08:55	1.228
@@ -395,7 +395,7 @@
 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]