summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/tmpfs/tmpfs.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-20 17:12:51 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-20 17:12:51 +0000
commit54353ad29adeee9c6e5d72014e3a132cfa1f39f5 (patch)
tree76672c3fd7d0ab6c256fb9df30d681b1c1e6366f /pkg/sentry/fsimpl/tmpfs/tmpfs.go
parent4b4c6bb806cd60dec1455de3a5e07f531afd19e5 (diff)
parente72ce8cce46ed48af306df50d252853c8790924d (diff)
Merge release-20200323.0-189-ge72ce8c (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/tmpfs/tmpfs.go')
-rwxr-xr-xpkg/sentry/fsimpl/tmpfs/tmpfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/tmpfs/tmpfs.go b/pkg/sentry/fsimpl/tmpfs/tmpfs.go
index a59b24d45..82c709b43 100755
--- a/pkg/sentry/fsimpl/tmpfs/tmpfs.go
+++ b/pkg/sentry/fsimpl/tmpfs/tmpfs.go
@@ -247,7 +247,7 @@ func (i *inode) incLinksLocked() {
panic("tmpfs.inode.incLinksLocked() called with no existing links")
}
if i.nlink == maxLinks {
- panic("memfs.inode.incLinksLocked() called with maximum link count")
+ panic("tmpfs.inode.incLinksLocked() called with maximum link count")
}
atomic.AddUint32(&i.nlink, 1)
}