tmpfiles: create parents before children, but remove children before parents
authorLennart Poettering <lennart@poettering.net>
Fri, 26 Oct 2018 18:56:37 +0000 (20:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Nov 2018 08:52:16 +0000 (09:52 +0100)
commit811a15877825da9e53f9a2a8603da34589af6bbb
tree9f10b225b978fb360cd7be59cda76e0e2060def6
parent133bbca42e0ea4056e2151a1f5696b9ca8b6630b
tmpfiles: create parents before children, but remove children before parents

Previously, we'd always process parents before children. With this
change we are a bit more careful and create parents before children but
clean up children before parents.

The "done" boolean by item is replaced by a mask so that we can descent
and ascend for the right operations only.

See: #9508
src/tmpfiles/tmpfiles.c