[DRBD-cvs] svn commit by phil - r2511 - in trunk: drbd user - micro fixes [do not propagate]

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Wed Oct 4 15:11:36 CEST 2006


Author: phil
Date: 2006-10-04 15:11:35 +0200 (Wed, 04 Oct 2006)
New Revision: 2511

Modified:
   trunk/drbd/drbd_nl.c
   trunk/user/drbdsetup.c
Log:
micro fixes [do not propagate]


Modified: trunk/drbd/drbd_nl.c
===================================================================
--- trunk/drbd/drbd_nl.c	2006-10-04 10:14:02 UTC (rev 2510)
+++ trunk/drbd/drbd_nl.c	2006-10-04 13:11:35 UTC (rev 2511)
@@ -1229,8 +1229,7 @@
 	}
 #undef AL_MAX
 
-	mdev->sync_conf.rate       = sc.rate;
-	mdev->sync_conf.al_extents = sc.al_extents;
+	mdev->sync_conf = sc;
 
 	if(inc_local(mdev)) {
 		err = drbd_check_al_size(mdev);

Modified: trunk/user/drbdsetup.c
===================================================================
--- trunk/user/drbdsetup.c	2006-10-04 10:14:02 UTC (rev 2510)
+++ trunk/user/drbdsetup.c	2006-10-04 13:11:35 UTC (rev 2511)
@@ -970,7 +970,7 @@
 
 	// find all commands that have options and print those...
 	for ( cm = commands ; cm < commands + ARRY_SIZE(commands) ; cm++ ) {
-		if(cm->cp.options)
+		if(cm->function == generic_config_cmd && cm->cp.options )
 			print_options(cm->cp.options, rtl, cm->cmd);
 	}
 



More information about the drbd-cvs mailing list