loop-util: store device major/minor in LoopDevice object
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Mar 2021 20:22:22 +0000 (21:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 19 Apr 2021 21:16:02 +0000 (23:16 +0200)
commitf3859d5f5591494c3022d6e9e4af1538174526fd
treef4c0c0bba4bf7a78386ac86e73ae1de1bac22e00
parentd83d80486326607ed3b6e3c73f1f18e9baabf3ba
loop-util: store device major/minor in LoopDevice object

Let's store this away. It's useful when matching up mounts (i.e.  struct
stat's .st_dev field) with loopback devices.
src/shared/loop-util.c
src/shared/loop-util.h