1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver/graphtest
Derek McGowan d99f4cc83d Fix overlay2 ignoring whiteout files
Currently when overlay creates a whiteout file then the overlay2 layer is archived,
the correct tar header will be created for the whiteout file, but the tar logic will then attempt to open the file causing a failure.
When tar encounters such failures the file is skipped and excluded for the archive, causing the whiteout to be ignored.
By skipping the copy of empty files, no open attempt will be made on whiteout files.

Fixes #23863

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
(cherry picked from commit bd13c53f8d)
2016-06-30 16:47:46 -07:00
..
graphbench_unix.go Expand graphtest package 2016-06-08 00:16:01 -07:00
graphtest_unix.go Fix overlay2 ignoring whiteout files 2016-06-30 16:47:46 -07:00
graphtest_windows.go Windows: Fix daemon\graphdriver\graphtest 2015-10-31 21:14:18 -07:00
testutil.go Fix overlay2 ignoring whiteout files 2016-06-30 16:47:46 -07:00
testutil_unix.go Expand graphtest package 2016-06-08 00:16:01 -07:00