[PATCH] smb: client: Fix a NULL vs IS_ERR() check in wsl_set_xattrs()

Paulo Alcantara pc at manguebit.com
Wed Jan 31 17:23:13 UTC 2024


Dan Carpenter <dan.carpenter at linaro.org> writes:

> This was intended to be an IS_ERR() check.  The ea_create_context()
> function doesn't return NULL.
>
> Fixes: 1eab17fe485c ("smb: client: add support for WSL reparse points")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
> ---
>  fs/smb/client/reparse.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Paulo Alcantara <pc at manguebit.com>



More information about the samba-technical mailing list