aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2018-05-07 10:54:48 +1000
committerGreg Kroah-Hartman <[email protected]>2018-05-08 13:09:21 +0200
commit1d6e65bedf5878c8dd5b089d3f034b619bbb8a77 (patch)
tree10e634988d246c5971090252dc29d7d2b56279cd /tools/perf/scripts/python/syscall-counts.py
parent9604c7ac2005e214cb08500c957a79c58bea5c83 (diff)
staging: lustre: fix error deref in ll_splice_alias().
d_splice_alias() can return an ERR_PTR(). If it does while debugging is enabled, the following CDEBUG() will dereference that error and crash. So add appropriate checking, and provide a separate debug message for the error case. Reported-and-tested-by: James Simmons <[email protected]> Fixes: e9d4f0b9f559 ("staging: lustre: llite: use d_splice_alias for directories.") Reviewed-by: James Simmons <[email protected]> Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions