]> git.ipfire.org Git - thirdparty/systemd.git/commit
gpt-auto: rename all functions that operate on a DissectedPartition object add_partit...
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Oct 2022 13:46:04 +0000 (15:46 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Oct 2022 06:07:58 +0000 (08:07 +0200)
commit235ae69cbeb37f52eb96e8cbf8fc9d5738e91465
tree0673b146da500f96c322de9efa20594792f2cc63
parente8ede6f57e49531a820b5ddc05ddade661b5832c
gpt-auto: rename all functions that operate on a DissectedPartition object add_partition_xyz()

The function for handling regular mounts based on DissectedPartition
objects is called add_partition_mount(), so let's follow this scheme for
all other functions that handle them, too. This nicely separates out the
low-level functions (which get split up args) from the high-level
functions (which get a DissectedPartition object): the latter are called
add_partition_xyz() the former just add_xyz().

This makes naming a bit more systematic. No change in behaviour.
src/gpt-auto-generator/gpt-auto-generator.c