mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-08 13:01:23 +00:00
Some item_val_len() callers were applying alignment twice, which isn't needed. And additions to erased_bytes as value lengths change didn't take alignment into account. They could end up double counting if val_len changes within the alignment are then accounted for again as the full item and alignment is later deleted. Additions to erased_bytes based on val_len should always take alignment into account. Signed-off-by: Zach Brown <zab@versity.com>