diff options
author | Greg Kroah-Hartman <[email protected]> | 2019-01-23 14:48:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-01-31 14:07:59 +0100 |
commit | 36991ca68db9dd43bac7f3519f080ee3939263ef (patch) | |
tree | 49a095083f83399fa032a7e3264a1509d79dc983 /net/lapb/lapb_out.c | |
parent | 2c1cf00eeacb784781cf1c9896b8af001246d339 (diff) |
blk-mq: protect debugfs_create_files() from failures
If debugfs were to return a non-NULL error for a debugfs call, using
that pointer later in debugfs_create_files() would crash.
Fix that by properly checking the pointer before referencing it.
Reported-by: Michal Hocko <[email protected]>
Reported-and-tested-by: [email protected]
Reported-by: Tetsuo Handa <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions