mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-06 12:06:26 +00:00
We already have a function that zeros the end of a block starting at a given offset. Some callers have a pointer to the byte to zero from so let's add a convenience function that calculates the offset from the pointer. Signed-off-by: Zach Brown <zab@versity.com>