aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2014-10-29 08:22:18 +1100
committerDave Chinner <[email protected]>2014-10-29 08:22:18 +1100
commita6bbce54efa9145dbcf3029c885549f7ebc40a3b (patch)
treead8cac74e9ad13827614de3bd368d3cdaff4b22e /tools/perf/scripts/python/Perf-Trace-Util
parentcac7f2429872d3733dc3f9915857b1691da2eb2f (diff)
xfs: bulkstat doesn't release AGI buffer on error
The recent refactoring of the bulkstat code left a small landmine in the code. If a inobt read fails, then the tree walk is aborted and returns without releasing the AGI buffer or freeing the cursor. This can lead to a subsequent bulkstat call hanging trying to grab the AGI buffer again. cc: <[email protected]> Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Brian Foster <[email protected]> Reviewed-by: Eric Sandeen <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions