[Pvfs2-cvs] commit by pcarns in pvfs2-1/examples/heartbeat/hardware-specific: Filesystem-qla-monitor

CVS commit program cvs at parl.clemson.edu
Tue Jul 21 14:59:04 EDT 2009


Update of /projects/cvsroot/pvfs2-1/examples/heartbeat/hardware-specific
In directory parlweb1:/tmp/cvs-serv7213/examples/heartbeat/hardware-specific

Modified Files:
	Filesystem-qla-monitor 
Log Message:
patch from David Metheny: prevent heartbeat resource script with qlogic
monitoring doesn't display bogus error on meta-data commands


Index: Filesystem-qla-monitor
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/examples/heartbeat/hardware-specific/Filesystem-qla-monitor,v
diff -p -u -r1.1 -r1.2
--- Filesystem-qla-monitor	24 Apr 2008 16:19:03 -0000	1.1
+++ Filesystem-qla-monitor	21 Jul 2009 18:59:04 -0000	1.2
@@ -717,6 +717,18 @@ then
   exit $OCF_ERR_ARGS
 fi
 
+OP=$1
+
+# These operations do not require instance parameters
+case $OP in
+  meta-data)		meta_data
+			exit $OCF_SUCCESS
+			;;
+  usage)		usage
+			exit $OCF_SUCCESS
+			;;
+esac
+
 if 
   [ -z "$OCF_RESKEY_fsname" ]
 then
@@ -741,18 +753,6 @@ if [ ! -z "$OCF_RESKEY_options" ]; then
 fi
 fsname=$OCF_RESKEY_fsname
 conf_dir=$OCF_RESKEY_conf_dir
-
-OP=$1
-
-# These operations do not require instance parameters
-case $OP in
-  meta-data)		meta_data
-			exit $OCF_SUCCESS
-			;;
-  usage)		usage
-			exit $OCF_SUCCESS
-			;;
-esac
 
 blockdevice=no
 case $DEVICE in



More information about the Pvfs2-cvs mailing list