diff mbox

one more minor warning cleanup

Message ID CAH2r5mukt68SVoA4L_p=kvA_3m_hSRnLM1R7qcCxrKJMSFgsuw@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Steve French June 22, 2018, 9:19 a.m. UTC

diff mbox

Patch

From 01fcf0c3c90a87142006baff9f5a3609983f7de4 Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@microsoft.com>
Date: Fri, 22 Jun 2018 04:10:42 -0500
Subject: [PATCH] smb3: fix one more minor warning in posix mkdir

Signed-off-by: Steve French <stfrench@microsoft.com>
---
 fs/cifs/smb2pdu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index 741df8589051..9b09d66f49b2 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -1919,7 +1919,7 @@  int smb311_posix_mkdir(const unsigned int xid, struct inode *inode,
 {
 	struct smb_rqst rqst;
 	struct smb2_create_req *req;
-	struct smb2_create_rsp *rsp;
+	struct smb2_create_rsp *rsp = NULL;
 	struct TCP_Server_Info *server;
 	struct cifs_ses *ses = tcon->ses;
 	struct kvec iov[3]; /* make sure at least one for each open context */
-- 
2.17.1