aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorOmar Sandoval <[email protected]>2015-02-24 02:47:04 -0800
committerChris Mason <[email protected]>2015-04-26 06:27:00 -0700
commit67b7859e9bfa0dcee5a8256932e393e98739be1b (patch)
tree97cc477d3597187e4aa4e450ba74e06f7eda4f35 /tools/perf/util/trace-event-scripting.c
parent1b9845081633072c18f30d8cfd09c267adf0b109 (diff)
btrfs: handle ENOMEM in btrfs_alloc_tree_block
This is one of the first places to give out when memory is tight. Handle it properly rather than with a BUG_ON. Also fix the comment about the return value, which is an ERR_PTR, not NULL, on error. Signed-off-by: Omar Sandoval <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions