linux/fs/kernfs
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: aa81882534 ("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
..
dir.c kernfs: introduce kernfs_node_id 2017-07-29 09:00:03 -06:00
file.c kernfs: introduce kernfs_node_id 2017-07-29 09:00:03 -06:00
inode.c kernfs: introduce kernfs_node_id 2017-07-29 09:00:03 -06:00
Kconfig kernfs: add CONFIG_KERNFS 2014-02-07 16:08:57 -08:00
kernfs-internal.h kernfs: don't set dentry->d_fsdata 2017-07-29 09:00:03 -06:00
Makefile sysfs, kernfs: add skeletons for kernfs 2013-11-27 13:28:24 -08:00
mount.c kernfs: checking for IS_ERR() instead of NULL 2017-09-01 08:17:55 -06:00
symlink.c kernfs: don't set dentry->d_fsdata 2017-07-29 09:00:03 -06:00