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

From: Jens Axboe
Date: Fri Sep 01 2017 - 10:19:36 EST


On 08/30/2017 08:04 AM, Dan Carpenter wrote:
> The kernfs_get_inode() returns NULL on error, it never returns error
> pointers.

Added for 4.14, with the ack from Tejun and Greg.

--
Jens Axboe