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

From: Paulo Alcantara
Date: Wed Jan 31 2024 - 12:24:14 EST


Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> fs/smb/client/reparse.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Paulo Alcantara <pc@xxxxxxxxxxxxx>