mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Ploop graph driver provides its own ext4 filesystem to every container. It so happens that ext4 root comes with lost+found directory, causing failures from DriverTestCreateEmpty() and DriverTestCreateBase() tests on ploop. While I am not yet ready to submit ploop graph driver for review, this change looks simple enough to push. Note that filtering is done without any additional allocations, as described in https://github.com/golang/go/wiki/SliceTricks. [v2: added a comment about lost+found] Signed-off-by: Kir Kolyshkin <kir@openvz.org> Upstream-commit: 158c536267a6530082cd60ba8f79a86444f0d2eb Component: engine