mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-21 07:22:31 +00:00
f7f7a2e53f
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>