]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal-file-util: use COPY_VERIFY_LINKED
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Feb 2024 13:46:06 +0000 (22:46 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Feb 2024 18:48:18 +0000 (03:48 +0900)
commit18d4e475c7fad8a5f003e5eb2a9ed0616e0ade20
tree060b998a7f3714741f4e0dfdc8b9a8abe92c863a
parent72ef2a617f43e156dbe15e9fa28b84224c2969ad
journal-file-util: use COPY_VERIFY_LINKED

As the main thread may call journal_directory_vacuum() ->
unlinkat_deallocate() while another thread is copying the file.

Fixes #24150 and #31222.
src/shared/journal-file-util.c