summaryrefslogtreecommitdiff
path: root/internal/inomap/inomap.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-16 17:14:14 +0200
committerJakob Unterwurzacher2021-08-16 17:14:14 +0200
commit763499ee80f5acb7ab1db70d86c65485bebb115e (patch)
tree08d7596c670acc31ec2c49e32b44ceaee03bee27 /internal/inomap/inomap.go
parentb8d78d6a3153f0ebf01e11426bd28453c7b8b522 (diff)
inomap: update outdated wording in comments
Diffstat (limited to 'internal/inomap/inomap.go')
-rw-r--r--internal/inomap/inomap.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/inomap/inomap.go b/internal/inomap/inomap.go
index bd20e0d..630ba18 100644
--- a/internal/inomap/inomap.go
+++ b/internal/inomap/inomap.go
@@ -1,4 +1,4 @@
-// inomap translates (Dev, Flags, Ino) tuples to unique uint64
+// inomap translates (Dev, Tag, Ino) tuples to unique uint64
// inode numbers.
//
// Format of the returned inode numbers:
@@ -6,11 +6,11 @@
// [spill bit = 0][15 bit namespace id][48 bit passthru inode number]
// [spill bit = 1][63 bit spill inode number ]
//
-// Each (Dev, Flags) tuple gets a namespace id assigned. The original inode
+// Each (Dev, Tag) tuple gets a namespace id assigned. The original inode
// number is then passed through in the lower 48 bits.
//
// If namespace ids are exhaused, or the original id is larger than 48 bits,
-// the whole (Dev, Flags, Ino) tuple gets mapped in the spill map, and the
+// the whole (Dev, Tag, Ino) tuple gets mapped in the spill map, and the
// spill bit is set to 1.
package inomap