diff options
author | Peng Wang <rocking@whu.edu.cn> | 2019-07-08 23:16:11 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-25 15:30:48 +0200 |
commit | 2fd60da46da76948b8cc561ae8cc902209686253 (patch) | |
tree | 210588885a1e314349fca90aea6cfa5d3f11b3ef /samples | |
parent | 515db266a9dace92b0cbaed9a6044dd5304b8ca9 (diff) | |
download | linux-2fd60da46da76948b8cc561ae8cc902209686253.tar.bz2 |
kernfs: fix potential null pointer dereference
Get root safely after kn is ensureed to be not null.
Signed-off-by: Peng Wang <rocking@whu.edu.cn>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20190708151611.13242-1-rocking@whu.edu.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions