Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
list: use Info(), fix race with delete
Since commit 5516294 we can (and should) use Info() to get access to file stat. Do this. While going over directory entries, a parallel runc delete can remove an entry, and with the current code it results in a fatal error (which was not observed in practice, but looks quite possible). To fix, add a special case to continue on ErrNotExist. Signed-off-by: Kir Kolyshkin <[email protected]> (cherry picked from commit 1a3ee49) Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information