aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-08-30 17:04:56 +0300
committerJens Axboe <[email protected]>2017-09-01 08:17:55 -0600
commitef13ecbc134d7e0ca4ab4834d08bd20885b53c62 (patch)
tree300c7cc86289eba9d1917401ef5ab66e8dae37c9 /net/lapb/lapb_timer.c
parent974c58566e0b047d785701b6cf788a810072a4c1 (diff)
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 <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions