diff options
author | Yuta Hayashibe | 2022-05-04 18:06:20 +0900 |
---|---|---|
committer | rfjakob | 2022-06-26 10:59:06 +0200 |
commit | e9ecff7f07aeb1efe0edec7b4b050ce3c0ef75f8 (patch) | |
tree | 94d0da7da7c22b65ccfa5cc99cb7e9d5e6322d07 /internal/inomap | |
parent | c9e4e4f74150d2734496e90a4c442a17b79f52c1 (diff) |
Fix typos
Diffstat (limited to 'internal/inomap')
-rw-r--r-- | internal/inomap/inomap.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/inomap/inomap.go b/internal/inomap/inomap.go index 997ea9b..070fab4 100644 --- a/internal/inomap/inomap.go +++ b/internal/inomap/inomap.go @@ -9,7 +9,7 @@ // 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, +// If namespace ids are exhausted, or the original id is larger than 48 bits, // the whole (Dev, Tag, Ino) tuple gets mapped in the spill map, and the // spill bit is set to 1. package inomap @@ -114,7 +114,7 @@ func (m *InoMap) Translate(in QIno) (out uint64) { // TranslateStat translates (device, ino) pair contained in "st" into a unique // inode number and overwrites the ino in "st" with it. -// Convience wrapper around Translate(). +// Convenience wrapper around Translate(). func (m *InoMap) TranslateStat(st *syscall.Stat_t) { in := QInoFromStat(st) st.Ino = m.Translate(in) |