]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: remove unneeded null check in cifs_readdir
authorSteve French <stfrench@microsoft.com>
Thu, 26 May 2022 04:56:07 +0000 (23:56 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 27 May 2022 17:05:47 +0000 (12:05 -0500)
commit44a48081fc03187d3c047077f3ad3eb3a3eaf8fb
treea93dfc795d63a44b41af30102ed10f5e6bc32177
parentde3a9e943ddecba8d2ac1dde4cfff538e5c6a7b9
smb3: remove unneeded null check in cifs_readdir

Coverity pointed out an unneeded check.

Addresses-Coverity: 1518030 ("Null pointer dereferences")
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/readdir.c
fs/cifs/smb2ops.c