aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2023-04-13 18:54:30 +0000
committerAndreas Gruenbacher <[email protected]>2023-04-18 12:58:32 +0000
commit55534c094fd4e47db5547a013feab3ee88576e73 (patch)
treebd82a4ce57188450732d74360e30bf448984f320 /tools/perf/scripts/python/check-perf-trace.py
parentgfs2: Use gfs2_holder_initialized for jindex (diff)
downloadkernel-55534c094fd4e47db5547a013feab3ee88576e73.tar.gz
kernel-55534c094fd4e47db5547a013feab3ee88576e73.zip
gfs2: Move variable assignment behind a null pointer check in inode_go_dump
Since commit 27a2660f1ef9 ("gfs2: Dump nrpages for inodes and their glocks"), inode_go_dump() computes the address of inode within ip before checking if ip is NULL. This isn't a bug by itself, but it can give rise to bugs later. Avoid that by checking if ip is NULL first. Signed-off-by: Markus Elfring <[email protected]> Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions