diff options
author | Paul Dagnelie <[email protected]> | 2020-10-14 08:59:54 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-10-16 13:05:23 -0700 |
commit | d8091c929488ba9ba4113ac1b5e00e018c92f39f (patch) | |
tree | 728345931db1fe25e6292a390b8e1f235c84d324 /tests | |
parent | 05613fa7a379a60076d8795518396fa82da00aea (diff) |
Fix incorrect deletion order in range_tree_add_impl gap case
After a side-effectful call like add or remove, references to range
segs stored in btrees can no longer be used safely. We move the
remove call to just before the reinsertion call so that the seg
remains valid for as long as we need it.
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Paul Dagnelie <[email protected]>
Closes #11044
Closes #11056
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions