diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-11 20:09:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-11 20:09:04 +0100 |
commit | 280b29ac84baee304c180fe64f820db56cd5b2b3 (patch) | |
tree | c38ba89f5f6f96f16892de6e72fed6820d56ee28 /src/shared | |
parent | cb8ac9646f2c5cf3c06b7c7538eaf64334e9a997 (diff) | |
parent | 0b6b2df80d5f7b394cd032967b8796d96a8d0fcf (diff) |
Merge pull request #4861 from keszybz/dissect-tweaks
A prettification of the dissect code, mkosi and TODO updates
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/dissect-image.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/dissect-image.h b/src/shared/dissect-image.h index 902c8d4a37..175ddd8ea0 100644 --- a/src/shared/dissect-image.h +++ b/src/shared/dissect-image.h @@ -61,9 +61,12 @@ static inline int PARTITION_VERITY_OF(int p) { typedef enum DissectImageFlags { DISSECT_IMAGE_READ_ONLY = 1, - DISSECT_IMAGE_DISCARD_ON_LOOP = 2, /* Turn on "discard" if on loop device and file system supports it */ + DISSECT_IMAGE_DISCARD_ON_LOOP = 2, /* Turn on "discard" if on a loop device and file system supports it */ DISSECT_IMAGE_DISCARD = 4, /* Turn on "discard" if file system supports it, on all block devices */ DISSECT_IMAGE_DISCARD_ON_CRYPTO = 8, /* Turn on "discard" also on crypto devices */ + DISSECT_IMAGE_DISCARD_ANY = DISSECT_IMAGE_DISCARD_ON_LOOP | + DISSECT_IMAGE_DISCARD | + DISSECT_IMAGE_DISCARD_ON_CRYPTO, } DissectImageFlags; struct DissectedImage { |