diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-16 08:29:36 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-16 08:29:36 -0600 |
commit | c0f33186aa7a8903c5e7406024f13fad48cd14e3 (patch) | |
tree | c8361c8278b07839be9af2ccee3507d324a7a216 /lib/btrfs/btrfsprim/objid.go | |
parent | c2925f0f8a5d69369b43de0d2d201291fe5ed9d1 (diff) | |
parent | 17833fa13d5a7dcd79ad507fe4abf96b4a4a898b (diff) |
Merge branch 'lukeshu/errs'
Diffstat (limited to 'lib/btrfs/btrfsprim/objid.go')
-rw-r--r-- | lib/btrfs/btrfsprim/objid.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/btrfs/btrfsprim/objid.go b/lib/btrfs/btrfsprim/objid.go index 1aea030..f364957 100644 --- a/lib/btrfs/btrfsprim/objid.go +++ b/lib/btrfs/btrfsprim/objid.go @@ -6,6 +6,7 @@ package btrfsprim import ( "fmt" + "math" ) type ObjID uint64 @@ -52,6 +53,8 @@ const ( // ??? EMPTY_SUBVOL_DIR_OBJECTID ObjID = 2 + + MAX_OBJECTID ObjID = math.MaxUint64 ) var ( |