cifs: lease key is uninitialized in two additional functions when smb1

cifs_open and _cifsFileInfo_put also end up with lease_key uninitialized
in smb1 mounts. It is cleaner to set lease key to zero in these
places where leases are not supported (smb1 can not return lease keys
so the field was uninitialized).

Addresses-Coverity: 1514207 ("Uninitialized scalar variable")
Addresses-Coverity: 1514331 ("Uninitialized scalar variable")
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>

+2 -2
+2 -2
fs/cifs/file.c
··· 489 struct cifsInodeInfo *cifsi = CIFS_I(inode); 490 struct super_block *sb = inode->i_sb; 491 struct cifs_sb_info *cifs_sb = CIFS_SB(sb); 492 - struct cifs_fid fid; 493 struct cifs_pending_open open; 494 bool oplock_break_cancelled; 495 ··· 571 void *page; 572 const char *full_path; 573 bool posix_open_ok = false; 574 - struct cifs_fid fid; 575 struct cifs_pending_open open; 576 struct cifs_open_info_data data = {}; 577
··· 489 struct cifsInodeInfo *cifsi = CIFS_I(inode); 490 struct super_block *sb = inode->i_sb; 491 struct cifs_sb_info *cifs_sb = CIFS_SB(sb); 492 + struct cifs_fid fid = {}; 493 struct cifs_pending_open open; 494 bool oplock_break_cancelled; 495 ··· 571 void *page; 572 const char *full_path; 573 bool posix_open_ok = false; 574 + struct cifs_fid fid = {}; 575 struct cifs_pending_open open; 576 struct cifs_open_info_data data = {}; 577