aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-01-12 09:59:41 +0300
committerDavid Howells <[email protected]>2024-01-22 21:58:35 +0000
commit3be0b3ed1d76c6703b9ee482b55f7e01c369cc68 (patch)
treedf6e39a7252a09c3794e194ef2f7d6611045ab61 /tools/perf/scripts/python/export-to-postgresql.py
parentc40497d82387188f14d9adc4caa58ee1cb1999e1 (diff)
netfs, fscache: Prevent Oops in fscache_put_cache()
This function dereferences "cache" and then checks if it's IS_ERR_OR_NULL(). Check first, then dereference. Fixes: 9549332df4ed ("fscache: Implement cache registration") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David Howells <[email protected]> Link: https://lore.kernel.org/r/[email protected]/ # v2
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions