commit | 8ef32967065737dac51974efae333436354bea0a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Mar 18 16:09:37 2021 +0300 |
committer | Steve French <stfrench@microsoft.com> | Mon May 10 19:15:20 2021 -0500 |
tree | 5bc05911f98f11fcc59a843a72646e3f86a1269f | |
parent | 86df49e105afa6a205abb7d90809c3c76136eaa9 [diff] |
cifsd: fix a IS_ERR() vs NULL bug The smb_direct_alloc_sendmsg() function never returns NULL, it only returns error pointers so the check needs to be updated. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Steve French <stfrench@microsoft.com>