chiark / gitweb /
missing: add __NR_getrandom for powerpc architecture
[elogind.git] / src / shared / machine-image.h
index 4f41b4f307e8d94599f8cc32a622d12e9a2af953..75fa5f453371267ac9e1a3fcfec9893f5f3292db 100644 (file)
@@ -27,7 +27,7 @@
 typedef enum ImageType {
         IMAGE_DIRECTORY,
         IMAGE_SUBVOLUME,
-        IMAGE_GPT,
+        IMAGE_RAW,
         _IMAGE_TYPE_MAX,
         _IMAGE_TYPE_INVALID = -1
 } ImageType;
@@ -41,8 +41,8 @@ typedef struct Image {
         usec_t crtime;
         usec_t mtime;
 
-        uint64_t size;
-        uint64_t size_exclusive;
+        uint64_t usage;
+        uint64_t usage_exclusive;
         uint64_t limit;
         uint64_t limit_exclusive;
 } Image;