]> err.no Git - linux-2.6/commitdiff
ocfs2: Silence compiler warnings
authorSunil Mushran <sunil.mushran@oracle.com>
Tue, 17 Apr 2007 20:49:19 +0000 (13:49 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 26 Apr 2007 20:38:55 +0000 (13:38 -0700)
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmdomain.c
fs/ocfs2/vote.c

index 5b9c6089082a47dbba4ff86b9b7e99c9f3d1e448..d836b98dd99a42614ab0e1afbb4c5f459ef708ae 100644 (file)
@@ -1034,7 +1034,7 @@ static int dlm_try_to_join_domain(struct dlm_ctxt *dlm)
 {
        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);
 
index f30e63b9910c4610fce6bf8161ff6ce31b3d7f5b..1552d64494785ef3c39750fd7bb3bf4d07142f1b 100644 (file)
@@ -664,7 +664,7 @@ static int ocfs2_do_request_vote(struct ocfs2_super *osb,
                                 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;