FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(archive): handle whiteout ancestors as parents (#36) by dinoallo · Pull Request #37 · labring/containerd · GitHub

fix(archive): handle whiteout ancestors as parents (#36) - #37

Merged
dinoallo merged 1 commit into
labring:release/1.7+labringfrom
dinoallo:release-1.7-labring-pr36
Jul 31, 2026
Merged

fix(archive): handle whiteout ancestors as parents (#36)#37
dinoallo merged 1 commit into
labring:release/1.7+labringfrom
dinoallo:release-1.7-labring-pr36

Conversation

Copy link
Copy Markdown
Collaborator

Background

Backport #36 from v1.7 to release/1.7+labring. Archive apply could return ENOTDIR when creating a deeper path below an overlay whiteout ancestor, because Lstat fails before the whiteout itself is inspected.

Changes

  • Cherry-pick 919a27e from v1.7.
  • Walk upward on ENOTDIR while creating parents so overlay whiteout ancestors can be replaced.
  • Add regression coverage for a whiteout ancestor and for preserving non-whiteout ancestors.

Risks / Notes

Regular files, symlinks, and non-whiteout device nodes still fail as non-directory parents. This PR does not include a release tag.

* fix(archive): handle whiteout ancestors as parents

* docs(archive): clarify ENOTDIR parent handling

(cherry picked from commit 919a27e)
dinoallo merged commit 40a1462 into labring:release/1.7+labring Jul 31, 2026
8 of 18 checks passed
dinoallo deleted the release-1.7-labring-pr36 branch July 31, 2026 09:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL