diff --git a/pkg/vfs/writer.go b/pkg/vfs/writer.go index 692e4ba39df6..ba7955dfa9e7 100644 --- a/pkg/vfs/writer.go +++ b/pkg/vfs/writer.go @@ -120,7 +120,6 @@ func (s *sliceWriter) flushData() { s.writer.Abort() s.err = syscall.EIO } - s.writer = nil } // protected by s.chunk.file