Skip to content

Commit 82862b6

Browse files
authored
Merge pull request ceph#66235 from jzhu116-bloomberg/wip-co-throttle-fix
rgw: fix boost::intrusive::list iterator handling for erase Reviewed-by: Casey Bodley <[email protected]>
2 parents 2e54b2a + f6da1d1 commit 82862b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/async/detail/co_throttle_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class co_throttle_impl :
194194
to_cancel = std::move(outstanding);
195195
}
196196

197-
for (auto i = to_cancel.begin(); i != to_cancel.end(); ++i) {
197+
for (auto i = to_cancel.begin(); i != to_cancel.end();) {
198198
child& c = *i;
199199
i = to_cancel.erase(i);
200200

0 commit comments

Comments
 (0)