[Ocfs2-commits] smushran commits r3006 - in
branches/ocfs2-1.2/fs/ocfs2: . dlm
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Apr 16 14:45:24 PDT 2007
Author: smushran
Date: 2007-04-16 14:45:23 -0700 (Mon, 16 Apr 2007)
New Revision: 3006
Modified:
branches/ocfs2-1.2/fs/ocfs2/dlm/dlmdomain.c
branches/ocfs2-1.2/fs/ocfs2/vote.c
Log:
ocfs2_dlm: Silence compiler warnings
Signed-off-by: jlbec
Modified: branches/ocfs2-1.2/fs/ocfs2/dlm/dlmdomain.c
===================================================================
--- branches/ocfs2-1.2/fs/ocfs2/dlm/dlmdomain.c 2007-04-16 21:43:34 UTC (rev 3005)
+++ branches/ocfs2-1.2/fs/ocfs2/dlm/dlmdomain.c 2007-04-16 21:45:23 UTC (rev 3006)
@@ -1015,7 +1015,7 @@
{
int status = 0, tmpstat, node;
struct domain_join_ctxt *ctxt;
- enum dlm_query_join_response response;
+ enum dlm_query_join_response response = JOIN_DISALLOW;
mlog_entry("%p", dlm);
Modified: branches/ocfs2-1.2/fs/ocfs2/vote.c
===================================================================
--- branches/ocfs2-1.2/fs/ocfs2/vote.c 2007-04-16 21:43:34 UTC (rev 3005)
+++ branches/ocfs2-1.2/fs/ocfs2/vote.c 2007-04-16 21:45:23 UTC (rev 3006)
@@ -783,7 +783,7 @@
struct ocfs2_vote_msg *request,
struct ocfs2_net_response_cb *callback)
{
- int status, response;
+ int status, response = -EBUSY;
unsigned int response_id;
struct ocfs2_msg_hdr *hdr;
More information about the Ocfs2-commits
mailing list