diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-08-17 20:36:13 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-08-17 22:41:18 -0600 |
commit | 1bea509616f5fc1749473945d304c9e6bae21869 (patch) | |
tree | e141767f53c58e23cca998f2245875c5edafe7e7 /lib/btrfs/btrfsitem | |
parent | c9165b955861655d702059950573aaaf21101e6b (diff) |
rename: Move CSumBlockSize from scanforextents to btrfsitem
Diffstat (limited to 'lib/btrfs/btrfsitem')
-rw-r--r-- | lib/btrfs/btrfsitem/item_extentcsum.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/btrfs/btrfsitem/item_extentcsum.go b/lib/btrfs/btrfsitem/item_extentcsum.go index a945295..b35d333 100644 --- a/lib/btrfs/btrfsitem/item_extentcsum.go +++ b/lib/btrfs/btrfsitem/item_extentcsum.go @@ -10,6 +10,8 @@ import ( "git.lukeshu.com/btrfs-progs-ng/lib/btrfs/btrfssum" ) +const CSumBlockSize = 4 * 1024 + // key.objectid = BTRFS_EXTENT_CSUM_OBJECTID // key.offset = laddr of checksummed region type ExtentCSum struct { // EXTENT_CSUM=128 |