diff options
author | Brian Atkinson <[email protected]> | 2021-01-28 17:54:12 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-28 16:54:12 -0800 |
commit | 2993698eb3dfc0b462d216b2ea8bbe7bdb06f841 (patch) | |
tree | 0615002850e09323f866cf0387098bda689508bc /include/libnvpair.h | |
parent | 9f8c7e6a76a147cacc26dd0661d1a00da42bf405 (diff) |
Fixing gang ABD when adding another gang
I originally applied a fix in #11539 to fix a parent's child references
when a gang ABD is free'd. However, I did not take into account
abd_gang_add_gang(). We still need to make sure to update the child
references in this function as well. In order to resolve this I removed
decreasing the gang ABD's size in abd_free_gang() as well as moved back
the original placeent of zfs_refcount_remove_many() in abd_free().
Reviewed-by: Mark Maybee <[email protected]>
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Brian Atkinson <[email protected]>
Closes #11542
Diffstat (limited to 'include/libnvpair.h')
0 files changed, 0 insertions, 0 deletions