Skip to content
Commit 2fd60da4 authored by Peng Wang's avatar Peng Wang Committed by Greg Kroah-Hartman
Browse files

kernfs: fix potential null pointer dereference



Get root safely after kn is ensureed to be not null.

Signed-off-by: default avatarPeng Wang <rocking@whu.edu.cn>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20190708151611.13242-1-rocking@whu.edu.cn
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 515db266
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment