]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cifs: Fix null pointer check in cifs_read
authorSteve French <stfrench@microsoft.com>
Wed, 13 May 2020 15:27:16 +0000 (10:27 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 14 May 2020 15:30:03 +0000 (10:30 -0500)
commit9bd21d4b1a767c3abebec203342f3820dcb84662
treeb658b8584f20bf1c62b9ac0531a1ef84be41b91a
parent3dc58df0e2436829971c41ffbb07167dda0979f8
cifs: Fix null pointer check in cifs_read

Coverity scan noted a redundant null check

Coverity-id: 728517
Reported-by: Coverity <scan-admin@coverity.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Shyam Prasad N <nspmangalore@gmail.com>
fs/cifs/file.c