cifs: fix a possible use of uninit variable in SMB2_sess_setup
authorNamjae Jeon <namjae.jeon@samsung.com>
Wed, 20 Aug 2014 10:39:41 +0000 (19:39 +0900)
committerSteve French <smfrench@gmail.com>
Thu, 21 Aug 2014 17:12:59 +0000 (12:12 -0500)
commit7de975e349b295f387f34eed38f115223f17d5ee
treeb02d7afcccf57ccd3b61837e35c7e3486f285cf0
parentd6ccf4997e62fb6629f9f003980dca5292138b7b
cifs: fix a possible use of uninit variable in SMB2_sess_setup

In case of error, goto ssetup_exit can be hit and we could end up using
uninitialized value of resp_buftype

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2pdu.c