Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
criu: fix tempdir recycle : Fixes: checkpoint-restore#2351
When many duḿps failed in checkpoint-restore#2348, it created a bunch of empty directories ```txt drwx------ 2 root root 4096 Feb 12 23:48 .criu.temp-aa-policy.8uhTbO drwx------ 2 root root 4096 Feb 12 23:51 .criu.temp-aa-policy.90Vqt9 drwx------ 2 root root 4096 Feb 12 23:29 .criu.temp-aa-policy.9an3IS drwx------ 2 root root 4096 Feb 12 23:51 .criu.temp-aa-policy.CBz1ud drwx------ 2 root root 4096 Feb 12 23:39 .criu.temp-aa-policy.eA0Kj6 drwx------ 2 root root 4096 Feb 12 23:34 .criu.temp-aa-policy.GD04gM drwx------ 2 root root 4096 Feb 12 23:38 .criu.temp-aa-policy.ItnOKf drwx------ 2 root root 4096 Feb 12 23:57 .criu.temp-aa-policy.NuRSjL drwx------ 2 root root 4096 Feb 12 23:57 .criu.temp-aa-policy.nUX8Kq drwx------ 2 root root 4096 Feb 12 23:36 .criu.temp-aa-policy.PGi24L drwx------ 2 root root 4096 Feb 12 23:35 .criu.temp-aa-policy.QNuwGp drwx------ 2 root root 4096 Feb 12 23:28 .criu.temp-aa-policy.RyvBPt drwx------ 2 root root 4096 Feb 12 23:41 .criu.temp-aa-policy.TXQpQv drwx------ 2 root root 4096 Feb 12 23:41 .criu.temp-aa-policy.URYvi0 drwx------ 2 root root 4096 Feb 12 23:34 .criu.temp-aa-policy.VJixh8 drwx------ 2 root root 4096 Feb 12 23:48 .criu.temp-aa-policy.whT8gi ``` delete the directories after aborting Signed-off-by: YarBor <yarbor.ww@gmail.com>
- Loading branch information