]> git.ipfire.org Git - thirdparty/systemd.git/commit
homed: don't drop caches on activation
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Oct 2021 22:42:54 +0000 (00:42 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 23 Oct 2021 08:26:26 +0000 (17:26 +0900)
commitaa0379f16fc32f66b37fbcc9fc33c1afa22a61a8
tree6da6df696cd77b28406b690559bbc26f71a772b7
parent20e458ae3c3b386e2b720bbd3c37d95781e69ae7
homed: don't drop caches on activation

We should drop caches if we are configured to do so in all cases where
we are done with home dir operations: except if that operation is
activation, because in that case we are not destroying anything, but
leaving it on.

Hence, turn off the flag that reminds us that we should drop caches
before exiting, once activation completed fully,

Follow-up for 86019efa4416d7b548cab321c15bc22a65463786
src/home/homework-cifs.c
src/home/homework-directory.c
src/home/homework-luks.c