]> git.ipfire.org Git - thirdparty/systemd.git/commit
homework: reuse home_validate_update_luks() at one more place
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Oct 2021 20:40:11 +0000 (22:40 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 16 Oct 2021 08:13:02 +0000 (10:13 +0200)
commite1ab663575b205b4a9e7363fff3215d87f7d992f
treeecb67597f1648827634764aa9d7b31bb87cfb675
parentc8e2a76807adabd9b960925ae599c3b8b66a11ff
homework: reuse home_validate_update_luks() at one more place

We have the same code at two places, let's reuse it. Given the more
generic scope let's rename the function home_get_state() since it
retrieve the current setup state of the LUKS logic.
src/home/homework-luks.c
src/home/homework-luks.h
src/home/homework.c