summaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/ino_map.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/fusefrontend_reverse/ino_map.go')
-rw-r--r--internal/fusefrontend_reverse/ino_map.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/internal/fusefrontend_reverse/ino_map.go b/internal/fusefrontend_reverse/ino_map.go
deleted file mode 100644
index dae8222..0000000
--- a/internal/fusefrontend_reverse/ino_map.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package fusefrontend_reverse
-
-import (
- "sync/atomic"
-)
-
-func newInoGen() *inoGenT {
- var ino uint64 = 1
- return &inoGenT{&ino}
-}
-
-type inoGenT struct {
- ino *uint64
-}
-
-// Get the next inode counter value
-func (i *inoGenT) next() uint64 {
- return atomic.AddUint64(i.ino, 1)
-}