]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: move definitions + dry_run + empty fields into Context
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Aug 2025 13:28:20 +0000 (15:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 1 Nov 2025 20:58:28 +0000 (21:58 +0100)
commita47cbb6d9d959b17c6ffa50d8f635e40ba9afaf5
tree043ec6c850102340ce21fdccd7b3a61936c63893
parenteccd8d9a576e1bf0177c5d00f38d642217817e65
repart: move definitions + dry_run + empty fields into Context

This is preparation for making this eventually available via Varlink,
where we'd like to create Context object for each call that we can free
once it is done, but not inherit state from an earlier call.

Also fixes a couple of cases where we accessed arg_node, but where we
should have accessed the Context-specific copy in .node.
src/repart/repart.c