summaryrefslogtreecommitdiff
path: root/src/shared/machine-image.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-28 02:05:28 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-28 02:08:40 +0100
commitb6b1849830f5e4a6065c3b0c993668e500c954d3 (patch)
tree6c7a086974d703a0e15535bf341ce66dac03b388 /src/shared/machine-image.h
parent814f000872fc2d254250831607bdca9b27e5705e (diff)
machined: add support for reporting image size via btrfs quota
Diffstat (limited to 'src/shared/machine-image.h')
-rw-r--r--src/shared/machine-image.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/machine-image.h b/src/shared/machine-image.h
index 9e0f6aedba..10e5d0a533 100644
--- a/src/shared/machine-image.h
+++ b/src/shared/machine-image.h
@@ -40,6 +40,11 @@ typedef struct Image {
usec_t crtime;
usec_t mtime;
+
+ uint64_t size;
+ uint64_t size_exclusive;
+ uint64_t limit;
+ uint64_t limit_exclusive;
} Image;
Image *image_unref(Image *i);