summaryrefslogtreecommitdiff
path: root/fs/ufs/util.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2022-10-15 04:00:32 +0300
committerSteve French <stfrench@microsoft.com>2022-10-15 18:05:53 +0300
commit2bff0659338e58a3a24698a35e7dcb2b62199ba4 (patch)
tree1c07a17d31a087e5e1cf535267ad96e4967816b9 /fs/ufs/util.c
parent625b60d4f9517903ad499633776825e67fdb0c16 (diff)
downloadlinux-2bff0659338e58a3a24698a35e7dcb2b62199ba4.tar.xz
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/ufs/util.c')
0 files changed, 0 insertions, 0 deletions