Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernfs: checking for IS_ERR() instead of NULL
The kernfs_get_inode() returns NULL on error, it never returns error pointers. Fixes: aa81882 ("kernfs: add exportfs operations") Acked-by: Tejun Heo <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information