mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 05:17:02 +00:00
Filtered mount option helpers only need to allocate when they remove an option. No-op inputs can safely return the original slices because the observable contract is that inputs are not mutated. Document that behavior and keep the no-alias assertions scoped to cases where the returned mounts differ from the input. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>