aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJames Simmons <[email protected]>2016-08-22 12:57:43 -0400
committerGreg Kroah-Hartman <[email protected]>2016-08-22 16:39:15 -0400
commit88b090e3c020bfeac13d5c52984a03775808cb67 (patch)
treef5675d910a992a01d054b627c43edcb8aa274fc0 /tools/perf/scripts/python
parentf5a9a15f8fd4168e415e94f5dce367f3cef08e03 (diff)
staging: lustre: mdc: fix NULL pointer dereference in mdc_adjust_dirpages
The function mdc_adjust_dirpages is only called on platforms which don't have pages 4K in size which is why kbuild only reported this for platforms like the Alpha. The problem was a typo in ordering of variables in the beginning of a while loop. We were accessing the dp pointer before it was kmapped. Signed-off-by: James Simmons <[email protected]> Reviewed-by: Andreas Dilger <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions