mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
When we are using non-copying containers, we can't call resize() on them. get_struct_ptr is essentially a pointer cast, so we will end up with a pointer to a struct that extends beyond the boundaries of the container. As long as the btrfs metadata is not corrupted, we should not have too many problems. Signed-off-by: Zygo Blaxell <bees@furryterror.org>