loop-util: also store the device size in LoopDevice
authorLennart Poettering <lennart@poettering.net>
Mon, 4 Dec 2023 17:01:39 +0000 (18:01 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Dec 2023 16:35:22 +0000 (17:35 +0100)
commitc961a8c605a36bb8035380db3385be9ba2e45460
tree543faf8c63cf7ece43a04e28b8ba908e4706a766
parent01db9c85cf928de2ab4cfa07acbe35d0f574de44
loop-util: also store the device size in LoopDevice

That makes the field easily accessible, just as the sector size.
src/home/homework-luks.c
src/shared/loop-util.c
src/shared/loop-util.h