aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2015-10-13 18:14:19 -0400
committerJens Axboe <[email protected]>2015-10-21 08:17:29 -0600
commite27c5b9d23168cc2cb8fec147ae7ed1f7a2005c3 (patch)
treed7ed4b0682df716b85b14e09e3da6337b2ee9f1d /tools/perf/scripts/python/bin/export-to-postgresql-report
parent0dfc70c33409afc232ef0b9ec210535dfbf9bc61 (diff)
writeback: remove broken rbtree_postorder_for_each_entry_safe() usage in cgwb_bdi_destroy()
a20135ffbc44 ("writeback: don't drain bdi_writeback_congested on bdi destruction") added rbtree_postorder_for_each_entry_safe() which is used to remove all entries; however, according to Cody, the iterator isn't safe against operations which may rebalance the tree. Fix it by switching to repeatedly removing rb_first() until empty. Signed-off-by: Tejun Heo <[email protected]> Reported-by: Cody P Schafer <[email protected]> Fixes: a20135ffbc44 ("writeback: don't drain bdi_writeback_congested on bdi destruction") Link: http://lkml.kernel.org/g/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions