tmpfiles: generalize CreationMode and pass it everywhere
authorLennart Poettering <lennart@poettering.net>
Sun, 11 Sep 2022 10:21:58 +0000 (12:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Sep 2022 07:20:37 +0000 (09:20 +0200)
commita9bc518c08d4d3a111b637e348f5a60e5a50025f
tree0d7250a5967f387b84d142679162481ed5155142
parentc5d554aa666f7d87113a1f93547ce122d5ad4d14
tmpfiles: generalize CreationMode and pass it everywhere

For some purposes we had CreationMode which indicates whether an inode
was created by us, or is pre-existing. Let's generalize that for *all*
operations. This is later useful to conditionalize certain operations on
that (and makes the codebase more systematic)
src/tmpfiles/tmpfiles.c