public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/lib/striped striped.c
@ 2010-10-25 13:38 zkabelac
  0 siblings, 0 replies; 3+ messages in thread
From: zkabelac @ 2010-10-25 13:38 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@sourceware.org	2010-10-25 13:38:11

Modified files:
	lib/striped    : striped.c 

Log message:
	Use const config node

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/striped/striped.c.diff?cvsroot=lvm2&r1=1.32&r2=1.33

--- LVM2/lib/striped/striped.c	2010/07/09 15:34:46	1.32
+++ LVM2/lib/striped/striped.c	2010/10/25 13:38:11	1.33
@@ -71,7 +71,7 @@
 static int _striped_text_import(struct lv_segment *seg, const struct config_node *sn,
 			struct dm_hash_table *pv_hash)
 {
-	struct config_node *cn;
+	const struct config_node *cn;
 
 	if ((seg->area_count != 1) &&
 	    !get_config_uint32(sn, "stripe_size", &seg->stripe_size)) {


^ permalink raw reply	[flat|nested] 3+ messages in thread

* LVM2/lib/striped striped.c
@ 2006-10-03 18:02 agk
  0 siblings, 0 replies; 3+ messages in thread
From: agk @ 2006-10-03 18:02 UTC (permalink / raw)
  To: lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2006-10-03 18:02:06

Modified files:
	lib/striped    : striped.c 

Log message:
	exclude targets that are always built-in

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/striped/striped.c.diff?cvsroot=lvm2&r1=1.18&r2=1.19

--- LVM2/lib/striped/striped.c	2006/10/03 17:55:20	1.18
+++ LVM2/lib/striped/striped.c	2006/10/03 18:02:06	1.19
@@ -189,17 +189,6 @@
 }
 #endif
 
-static int _striped_modules_needed(struct dm_pool *mem,
-				   const struct lv_segment *seg,
-				   struct list *modules)
-{
-	const char *module;
-
-	module = (seg->area_count == 1) ? "linear" : "striped";
-
-	return str_list_add(mem, modules, module);
-}
-
 static void _striped_destroy(const struct segment_type *segtype)
 {
 	dm_free((void *)segtype);
@@ -216,7 +205,6 @@
 	.add_target_line = _striped_add_target_line,
 	.target_present = _striped_target_present,
 #endif
-	.modules_needed = _striped_modules_needed,
 	.destroy = _striped_destroy,
 };
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* LVM2/lib/striped striped.c
@ 2005-10-18 13:45 agk
  0 siblings, 0 replies; 3+ messages in thread
From: agk @ 2005-10-18 13:45 UTC (permalink / raw)
  To: lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2005-10-18 13:45:25

Modified files:
	lib/striped    : striped.c 

Log message:
	use seg_type macro

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/striped/striped.c.diff?cvsroot=lvm2&r1=1.10&r2=1.11


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-25 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-25 13:38 LVM2/lib/striped striped.c zkabelac
  -- strict thread matches above, loose matches on Subject: below --
2006-10-03 18:02 agk
2005-10-18 13:45 agk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).