diff options
author | Henrik Grindal Bakken <hgb@ifi.uio.no> | 2017-03-23 16:19:15 +0100 |
---|---|---|
committer | Henrik Grindal Bakken <hgb@ifi.uio.no> | 2017-12-18 14:15:17 +0100 |
commit | ffc01f0680d1d295e7b96d383070ab66e5e3bb51 (patch) | |
tree | 5cc945486e5da54f12f09ccd0666745894e06907 /src | |
parent | 8cbe9f06f4dc15d2f797d72a1f0e659c9bc9b560 (diff) | |
download | systemd-ffc01f0680d1d295e7b96d383070ab66e5e3bb51.tar.gz systemd-ffc01f0680d1d295e7b96d383070ab66e5e3bb51.tar.bz2 systemd-ffc01f0680d1d295e7b96d383070ab66e5e3bb51.zip |
missing: Add DM_DEFERRED_REMOVE
Also include missing.h in dissect-image.c to pick it up.
Diffstat (limited to 'src')
-rw-r--r-- | src/basic/missing.h | 4 | ||||
-rw-r--r-- | src/shared/dissect-image.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h index 20a1c5f1b9..66f0caf294 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -593,6 +593,10 @@ struct btrfs_ioctl_quota_ctl_args { #define SMACK_MAGIC 0x43415d53 #endif +#ifndef DM_DEFERRED_REMOVE +#define DM_DEFERRED_REMOVE (1 << 17) +#endif + #ifndef MAX_HANDLE_SZ #define MAX_HANDLE_SZ 128 #endif diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index e8d7db8f0c..a11d4849bb 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -38,6 +38,7 @@ #include "hostname-util.h" #include "id128-util.h" #include "linux-3.13/dm-ioctl.h" +#include "missing.h" #include "mount-util.h" #include "path-util.h" #include "process-util.h" |