]> git.ipfire.org Git - thirdparty/systemd.git/commit
detach-swap: decouple from umount.h
authorLennart Poettering <lennart@poettering.net>
Fri, 2 Jun 2023 08:51:08 +0000 (10:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 2 Jun 2023 13:56:06 +0000 (15:56 +0200)
commita0fb20672d6bcbee6ee36b679adcbac67e33e799
tree445de8a32f516df7dddb7b5e94f526aab243b35f
parent82a1d6d09625b656c991f25e82b5651c74a55945
detach-swap: decouple from umount.h

So far detach-swap.[ch] were still using the MountPoint structure to
store swap device info in. Since it was only using a single field of it
sharing the whole structure is kinda pointless. Hence, let's decouple
this and only add the field we really need.
src/shutdown/detach-swap.c
src/shutdown/detach-swap.h
src/shutdown/test-umount.c