diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2007-04-17 16:49:19 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-04-26 16:38:55 -0400 |
commit | 5d262cc7dd3d47784f8233ad4ec2cc5a08059b71 (patch) | |
tree | b42061fc5b3548a7523029350b0a3a0036f485a7 /fs/ocfs2 | |
parent | be9e986b824b41c9d5cc5eca34ee3424c35fd162 (diff) |
ocfs2: Silence compiler warnings
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/dlm/dlmdomain.c | 2 | ||||
-rw-r--r-- | fs/ocfs2/vote.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c index 5b9c6089082a..d836b98dd99a 100644 --- a/fs/ocfs2/dlm/dlmdomain.c +++ b/fs/ocfs2/dlm/dlmdomain.c | |||
@@ -1034,7 +1034,7 @@ static int dlm_try_to_join_domain(struct dlm_ctxt *dlm) | |||
1034 | { | 1034 | { |
1035 | int status = 0, tmpstat, node; | 1035 | int status = 0, tmpstat, node; |
1036 | struct domain_join_ctxt *ctxt; | 1036 | struct domain_join_ctxt *ctxt; |
1037 | enum dlm_query_join_response response; | 1037 | enum dlm_query_join_response response = JOIN_DISALLOW; |
1038 | 1038 | ||
1039 | mlog_entry("%p", dlm); | 1039 | mlog_entry("%p", dlm); |
1040 | 1040 | ||
diff --git a/fs/ocfs2/vote.c b/fs/ocfs2/vote.c index f30e63b9910c..1552d6449478 100644 --- a/fs/ocfs2/vote.c +++ b/fs/ocfs2/vote.c | |||
@@ -664,7 +664,7 @@ static int ocfs2_do_request_vote(struct ocfs2_super *osb, | |||
664 | struct ocfs2_vote_msg *request, | 664 | struct ocfs2_vote_msg *request, |
665 | struct ocfs2_net_response_cb *callback) | 665 | struct ocfs2_net_response_cb *callback) |
666 | { | 666 | { |
667 | int status, response; | 667 | int status, response = -EBUSY; |
668 | unsigned int response_id; | 668 | unsigned int response_id; |
669 | struct ocfs2_msg_hdr *hdr; | 669 | struct ocfs2_msg_hdr *hdr; |
670 | 670 | ||