summaryrefslogtreecommitdiff
path: root/fs/jfs
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2022-10-14 20:00:32 -0500
committerSteve French <stfrench@microsoft.com>2022-10-15 10:05:53 -0500
commit2bff0659338e58a3a24698a35e7dcb2b62199ba4 (patch)
tree1c07a17d31a087e5e1cf535267ad96e4967816b9 /fs/jfs
parent625b60d4f9517903ad499633776825e67fdb0c16 (diff)
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>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions