diff options
author | Darrick J. Wong <[email protected]> | 2016-08-26 15:58:40 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2016-08-26 15:58:40 +1000 |
commit | ed150e1a5cf20c04cf0b2d2c34e498fc1d6519be (patch) | |
tree | 867b5a19de18ad47ece6325be6ce8c6f986aaafd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 32438cf9d54bd53b531f6d98814e84dd278360c1 (diff) |
xfs: don't perform lookups on zero-height btrees
If the caller passes in a cursor to a zero-height btree (which is
impossible), we never set block to anything but NULL, which causes the
later dereference of it to crash. Instead, just return -EFSCORRUPTED.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions