Dan Carpenter ef13ecbc13 kernfs: checking for IS_ERR() instead of NULL
The kernfs_get_inode() returns NULL on error, it never returns error
pointers.

Fixes: aa8188253474 ("kernfs: add exportfs operations")
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-09-01 08:17:55 -06:00
..
2017-07-29 09:00:03 -06:00
2017-07-29 09:00:03 -06:00
2017-07-29 09:00:03 -06:00
2014-02-07 16:08:57 -08:00
2017-07-29 09:00:03 -06:00