]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkfs-util: turn quiet/discard to a flags field
authorAllison Karlitskaya <allison.karlitskaya@redhat.com>
Tue, 3 Dec 2024 08:21:16 +0000 (09:21 +0100)
committerAllison Karlitskaya <allison.karlitskaya@redhat.com>
Tue, 27 May 2025 07:26:02 +0000 (09:26 +0200)
commitd89283b48e72091c2b787cbbd796e75a1390bb33
tree768233661e639d822e5bdede16b5fc594b194cc8
parentc69598a3abaacb0a5e79179aa19157c58fdc89d8
mkfs-util: turn quiet/discard to a flags field

Add a new `MakeFilesystemFlags` enum and use it to replace the existing
`quiet` and `discard` booleans on `make_filesystem()`.

Update the callers.  While we're doing that, consolidate some duplicated
logic in systemd-repart.

Signed-off-by: Allison Karlitskaya <allison.karlitskaya@redhat.com>
src/growfs/makefs.c
src/home/homework-luks.c
src/repart/repart.c
src/shared/mkfs-util.c
src/shared/mkfs-util.h
src/test/test-loop-block.c