aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorRichard Weinberger <[email protected]>2014-10-29 14:50:53 -0700
committerLinus Torvalds <[email protected]>2014-10-29 16:33:15 -0700
commitd3556babd7facb8fbc596bada0d67139e3b22330 (patch)
treeee64a8efc40fd2604483dd01171700b0e14d7ad5 /tools/perf/scripts/python/check-perf-trace.py
parent8186eb6a799e4e32f984b55858d8e393938be0c1 (diff)
ocfs2: fix d_splice_alias() return code checking
d_splice_alias() can return a valid dentry, NULL or an ERR_PTR. Currently the code checks not for ERR_PTR and will cuase an oops in ocfs2_dentry_attach_lock(). Fix this by using IS_ERR_OR_NULL(). Signed-off-by: Richard Weinberger <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions