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
return r;
setup->undo_mount = false;
+ setup->do_drop_caches = false;
log_info("Everything completed.");
return r;
}
+ setup->do_drop_caches = false;
+
log_info("Everything completed.");
*ret_home = TAKE_PTR(new_home);
setup->undo_dm = false;
setup->do_offline_fallocate = false;
setup->do_mark_clean = false;
+ setup->do_drop_caches = false;
log_info("Everything completed.");