summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/dev/full.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/dev/full.go')
-rw-r--r--pkg/sentry/fs/dev/full.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/dev/full.go b/pkg/sentry/fs/dev/full.go
index cbdd40161..0cb513004 100644
--- a/pkg/sentry/fs/dev/full.go
+++ b/pkg/sentry/fs/dev/full.go
@@ -73,6 +73,6 @@ type fullFileOperations struct {
var _ fs.FileOperations = (*fullFileOperations)(nil)
// Write implements FileOperations.Write.
-func (fullFileOperations) Write(context.Context, *fs.File, usermem.IOSequence, int64) (int64, error) {
+func (*fullFileOperations) Write(context.Context, *fs.File, usermem.IOSequence, int64) (int64, error) {
return 0, syserror.ENOSPC
}