Revendor Microsoft/go-winio for 8gB file fix

This pulls in the migration of go-winio/backuptar from the bundled fork
of archive/tar from Go 1.6 to using Go's current archive/tar unmodified.

This fixes the failure to import an OCI layer (tar stream) containing a
file larger than 8gB.

Fixes: #40444

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
This commit is contained in:
Paul "TBBle" Hampson
2020-09-09 22:49:11 +10:00
parent 2dd9faaa16
commit 35c531db1a
13 changed files with 119 additions and 1921 deletions

View File

@@ -3,6 +3,7 @@
package windows // import "github.com/docker/docker/daemon/graphdriver/windows"
import (
"archive/tar"
"bufio"
"bytes"
"encoding/json"
@@ -20,7 +21,6 @@ import (
"unsafe"
winio "github.com/Microsoft/go-winio"
"github.com/Microsoft/go-winio/archive/tar"
"github.com/Microsoft/go-winio/backuptar"
"github.com/Microsoft/go-winio/vhd"
"github.com/Microsoft/hcsshim"