summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/ext/disklayout/inode_new.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/ext/disklayout/inode_new.go')
-rw-r--r--pkg/sentry/fs/ext/disklayout/inode_new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/ext/disklayout/inode_new.go b/pkg/sentry/fs/ext/disklayout/inode_new.go
index 4f5348372..8f9f574ce 100644
--- a/pkg/sentry/fs/ext/disklayout/inode_new.go
+++ b/pkg/sentry/fs/ext/disklayout/inode_new.go
@@ -62,7 +62,7 @@ func (in *InodeNew) Size() uint64 {
// InodeSize implements Inode.InodeSize.
func (in *InodeNew) InodeSize() uint16 {
- return oldInodeSize + in.ExtraInodeSize
+ return OldInodeSize + in.ExtraInodeSize
}
// ChangeTime implements Inode.ChangeTime.