[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/proto: pvfs2-req-proto.h

CVS commit program cvs at parl.clemson.edu
Fri Jun 13 17:33:08 EDT 2008


Update of /projects/cvsroot/pvfs2-1/src/proto
In directory parlweb1:/tmp/cvs-serv26785/src/proto

Modified Files:
	pvfs2-req-proto.h 
Log Message:
adding setparam to the list of mgmt operations; fixes bug in which
pvfs2-fsck leaves servers stuck in admin mode


Index: pvfs2-req-proto.h
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/proto/pvfs2-req-proto.h,v
diff -p -u -r1.153 -r1.154
--- pvfs2-req-proto.h	18 Feb 2008 17:00:53 -0000	1.153
+++ pvfs2-req-proto.h	13 Jun 2008 21:33:08 -0000	1.154
@@ -82,7 +82,8 @@ enum PVFS_server_op
  * These ops must always work, even if the server is in admin mode.
  */
 #define PVFS_SERV_IS_MGMT_OP(x) \
-    ((x) == PVFS_SERV_MGMT_REMOVE_OBJECT \
+    ((x) == PVFS_SERV_MGMT_SETPARAM \
+  || (x) == PVFS_SERV_MGMT_REMOVE_OBJECT \
   || (x) == PVFS_SERV_MGMT_REMOVE_DIRENT)
 
 /******************************************************************/



More information about the Pvfs2-cvs mailing list