]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing: Add DM_DEFERRED_REMOVE 7687/head
authorHenrik Grindal Bakken <hgb@ifi.uio.no>
Thu, 23 Mar 2017 15:19:15 +0000 (16:19 +0100)
committerHenrik Grindal Bakken <hgb@ifi.uio.no>
Mon, 18 Dec 2017 13:15:17 +0000 (14:15 +0100)
Also include missing.h in dissect-image.c to pick it up.

src/basic/missing.h
src/shared/dissect-image.c

index 20a1c5f1b97425a21ddf944239756c758968d671..66f0caf294a41ce546a762a92e411a583874bfc5 100644 (file)
@@ -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
index e8d7db8f0c267be0f580b0ef13e5a1a8d20fd8f4..a11d4849bb8969bdbfb332babecc9e7e81c483de 100644 (file)
@@ -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"