loop-util: save backing file of loopback block device

It will be used in later commits.
This commit is contained in:
Yu Watanabe
2022-09-07 20:45:24 +09:00
parent aa0295f1d9
commit e77cab8248
3 changed files with 31 additions and 3 deletions
+1
View File
@@ -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 */