summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/ramfs
diff options
context:
space:
mode:
authorCyrille Hemidy <cyrille.hemidy@gmail.com>2018-05-03 14:05:25 -0700
committerShentubot <shentubot@google.com>2018-05-03 14:06:13 -0700
commit04b79137babed361fb227e3ad579adb2df4bb188 (patch)
tree883f16f8e572d6e160bbb3faab1c0f5d2d4858e1 /pkg/sentry/fs/ramfs
parent5c8db0a81882f009935cc6dd45cec47d5c38b267 (diff)
Fix misspellings.
PiperOrigin-RevId: 195307689 Change-Id: I499f19af49875a43214797d63376f20ae788d2f4
Diffstat (limited to 'pkg/sentry/fs/ramfs')
-rw-r--r--pkg/sentry/fs/ramfs/dir.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/fs/ramfs/dir.go b/pkg/sentry/fs/ramfs/dir.go
index bf4cd8dfd..19d5612ed 100644
--- a/pkg/sentry/fs/ramfs/dir.go
+++ b/pkg/sentry/fs/ramfs/dir.go
@@ -103,7 +103,7 @@ func (d *Dir) addChildLocked(name string, inode *fs.Inode) {
}
// Given we're now adding this inode to the directory we must also
- // increase its link count. Similiarly we decremented it in removeChildLocked.
+ // increase its link count. Similarly we decremented it in removeChildLocked.
inode.AddLink()
}
@@ -144,7 +144,7 @@ func (d *Dir) removeChildLocked(ctx context.Context, name string) (*fs.Inode, er
inode.NotifyStatusChange(ctx)
// Given we're now removing this inode to the directory we must also
- // decrease its link count. Similiarly it is increased in addChildLocked.
+ // decrease its link count. Similarly it is increased in addChildLocked.
inode.DropLink()
return inode, nil