]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing: drop falloc related definitions
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 6 Dec 2018 05:55:19 +0000 (06:55 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 6 Dec 2018 12:28:34 +0000 (13:28 +0100)
All these values are exposed earlier than linux-3.11.
Let's drop them.

src/basic/missing.h

index 00b903ac3089450733d82b169d09f4c877d40b9c..eaf49f5369ea162d3f8a48039b890530d9c7dc05 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <errno.h>
 #include <inttypes.h>
-#include <linux/falloc.h>
 #include <sys/syscall.h>
 
 #ifndef FS_NOCOW_FL
 #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"