aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-02-12 19:27:34 +0100
committerAnna Schumaker <[email protected]>2019-02-12 15:51:39 -0500
commitad6fef776927b4172e55a1bd97b3cd441a0c261c (patch)
treeed3438b4e7702c396e41c778b3fe7c195c6f8429 /tools/perf/scripts/python/exported-sql-viewer.py
parenta4cb5bdb754afe21f3e9e7164213e8600cf69427 (diff)
rpc: properly check debugfs dentry before using it
debugfs can now report an error code if something went wrong instead of just NULL. So if the return value is to be used as a "real" dentry, it needs to be checked if it is an error before dereferencing it. This is now happening because of ff9fb72bc077 ("debugfs: return error values, not NULL"), but why debugfs files are not being created properly is an older issue, probably one that has always been there and should probably be looked at... Cc: "J. Bruce Fields" <[email protected]> Cc: Jeff Layton <[email protected]> Cc: Trond Myklebust <[email protected]> Cc: Anna Schumaker <[email protected]> Cc: [email protected] Cc: [email protected] Reported-by: David Howells <[email protected]> Tested-by: David Howells <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions