Re: [PATCH] kernfs: checking for IS_ERR() instead of NULL

From: Tejun Heo
Date: Wed Aug 30 2017 - 20:39:27 EST


On Wed, Aug 30, 2017 at 05:04:56PM +0300, Dan Carpenter wrote:
> The kernfs_get_inode() returns NULL on error, it never returns error
> pointers.
>
> Fixes: aa8188253474 ("kernfs: add exportfs operations")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Greg, can you please route this patch?

Thanks.

--
tejun