From: Andi Shyti Date: Mon, 29 Jul 2013 18:04:35 +0000 (+0200) Subject: cifs: file: initialize oparms.reconnect before using it X-Git-Tag: v3.11-rc6~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe090e4e44bac1d7d8c0ebd1dfa4e6007e1b2762;p=pandora-kernel.git cifs: file: initialize oparms.reconnect before using it In the cifs_reopen_file function, if the following statement is asserted: (tcon->unix_ext && cap_unix(tcon->ses) && (CIFS_UNIX_POSIX_PATH_OPS_CAP & (tcon->fsUnixInfo.Capability))) and we succeed to open with cifs_posix_open, the function jumps to the label reopen_success and checks for oparms.reconnect which is not initialized. This issue has been reported by scan.coverity.com Signed-off-by: Andi Shyti Reviewed-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed