diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-11-08 20:24:38 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-08 20:24:38 +0000 |
commit | 759da51175672e0de03657f95ba42c4c27ab3f26 (patch) | |
tree | 09e3f4a8b594ae7cee7a6c1d6bb75faa7a0af3d2 /pkg/sentry/fs | |
parent | 6e114e15c6429c085a288de360ea073d6e4b99f0 (diff) | |
parent | af58a4e3bb0ba81c103429317eb0c2735450136c (diff) |
Merge release-20190806.1-383-gaf58a4e (automated)
Diffstat (limited to 'pkg/sentry/fs')
-rw-r--r-- | pkg/sentry/fs/inode_operations.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/sentry/fs/inode_operations.go b/pkg/sentry/fs/inode_operations.go index d6c35c2dc..5cde9d215 100644 --- a/pkg/sentry/fs/inode_operations.go +++ b/pkg/sentry/fs/inode_operations.go @@ -221,8 +221,6 @@ type InodeOperations interface { // sys_ftruncate. // // Implementations need not check that length >= 0. - // - // Truncate must only be called on regular files. Truncate(ctx context.Context, inode *Inode, size int64) error // Allocate allows the caller to reserve disk space for the inode. |