journal-file-util: use the file descriptor of journal file on copy
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 14 Feb 2024 00:36:45 +0000 (09:36 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Feb 2024 15:25:37 +0000 (00:25 +0900)
commitf73ad0a9fb18bdba3f0704f5feef2dcbd6130915
tree7d72f50b1dbfc6aaaaba42bfc6d2251fd1969b68
parent0f938a024e2118e10520fa83ec9f7a3fc14b4856
journal-file-util: use the file descriptor of journal file on copy

No effective functionality changed, just refactoring.
src/shared/journal-file-util.c