summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-12-06 06:55:19 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-12-06 13:28:34 +0100
commit311c1a5d0a6f864c50d72904074d22d8be9e965e (patch)
treea956a6424ecaacc887f2ba81ac93460843f8e9a1 /src
parent22332e339b71d5fc26989f9b069934e9cedc9169 (diff)
downloadsystemd-311c1a5d0a6f864c50d72904074d22d8be9e965e.tar.gz
missing: drop falloc related definitions
All these values are exposed earlier than linux-3.11. Let's drop them.
Diffstat (limited to 'src')
-rw-r--r--src/basic/missing.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 00b903ac30..eaf49f5369 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -5,7 +5,6 @@
#include <errno.h>
#include <inttypes.h>
-#include <linux/falloc.h>
#include <sys/syscall.h>
#ifndef FS_NOCOW_FL
@@ -68,14 +67,6 @@
#define NS_GET_NSTYPE _IO(0xb7, 0x3)
#endif
-#ifndef FALLOC_FL_KEEP_SIZE
-#define FALLOC_FL_KEEP_SIZE 0x01
-#endif
-
-#ifndef FALLOC_FL_PUNCH_HOLE
-#define FALLOC_FL_PUNCH_HOLE 0x02
-#endif
-
#include "missing_audit.h"
#include "missing_btrfs_tree.h"
#include "missing_capability.h"