• Jan Safranek's avatar
    Refactor doBindSubPath into smaller functions: · 225a879b
    Jan Safranek authored
    - getSubpathBindTarget() computes final target of subpath bind-mount.
    - prepareSubpathTarget() creates target for bind-mount.
    - safeOpenSubPath() checks symlinks in Subpath and safely opens it.
    225a879b
mount_linux_test.go 54.3 KB