[DRBD-cvs] svn commit by lars - r2341 - branches/drbd-0.7/user - some more commands that need not check for the presence

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Tue Aug 8 13:58:49 CEST 2006


Author: lars
Date: 2006-08-08 13:58:49 +0200 (Tue, 08 Aug 2006)
New Revision: 2341

Modified:
   branches/drbd-0.7/user/drbdadm_main.c
Log:
some more commands that need not check for the presence of the ip

Modified: branches/drbd-0.7/user/drbdadm_main.c
===================================================================
--- branches/drbd-0.7/user/drbdadm_main.c	2006-08-08 11:57:50 UTC (rev 2340)
+++ branches/drbd-0.7/user/drbdadm_main.c	2006-08-08 11:58:49 UTC (rev 2341)
@@ -171,15 +171,15 @@
 
 struct adm_cmd cmds[] = {
 /*   name, function, arg,                     show, needs res, verify_ips */
-  { "attach",            adm_attach,  0                  ,1,1,1 },
-  { "detach",            adm_generic_s,"detach"          ,1,1,1 },
+  { "attach",            adm_attach,  0                  ,1,1,0 },
+  { "detach",            adm_generic_s,"detach"          ,1,1,0 },
   { "connect",           adm_connect, 0                  ,1,1,1 },
   { "disconnect",        adm_generic_s,"disconnect"      ,1,1,0 },
   { "up",                adm_up,      0                  ,1,1,1 },
   { "down",              adm_generic_s,"down"            ,1,1,0 },
-  { "primary",           adm_primary, 0                  ,1,1,1 },
-  { "secondary",         adm_generic_s,"secondary"       ,1,1,1 },
-  { "invalidate",        adm_generic_l,"invalidate"      ,1,1,1 },
+  { "primary",           adm_primary, 0                  ,1,1,0 },
+  { "secondary",         adm_generic_s,"secondary"       ,1,1,0 },
+  { "invalidate",        adm_generic_l,"invalidate"      ,1,1,0 },
   { "invalidate_remote", adm_generic_l,"invalidate_remote",1,1,1 },
   { "resize",            adm_resize,  0                  ,1,1,1 },
   { "syncer",            adm_syncer,  0                  ,1,1,1 },



More information about the drbd-cvs mailing list