diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-05 22:19:46 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-07 13:45:24 +0200 |
commit | e77cab824829f33e7870eb188ccd014acac49075 (patch) | |
tree | 887c92f0c23af859ea2f6ab5330c7b9849f27817 /src/shared/loop-util.h | |
parent | loop-util: move device_has_block_children() to blockdev-util.c (diff) | |
download | systemd-e77cab824829f33e7870eb188ccd014acac49075.tar.xz systemd-e77cab824829f33e7870eb188ccd014acac49075.zip |
loop-util: save backing file of loopback block device
It will be used in later commits.
Diffstat (limited to 'src/shared/loop-util.h')
-rw-r--r-- | src/shared/loop-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/loop-util.h b/src/shared/loop-util.h index 43bd25d445..cb0183ba07 100644 --- a/src/shared/loop-util.h +++ b/src/shared/loop-util.h @@ -17,6 +17,7 @@ struct LoopDevice { dev_t devno; char *node; sd_device *dev; + char *backing_file; bool relinquished; uint64_t diskseq; /* Block device sequence number, monothonically incremented by the kernel on create/attach, or 0 if we don't know */ uint64_t uevent_seqnum_not_before; /* uevent sequm right before we attached the loopback device, or UINT64_MAX if we don't know */ |