chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrfs: support recursively removing btrfs snapshots
[elogind.git]
/
src
/
shared
/
missing.h
diff --git
a/src/shared/missing.h
b/src/shared/missing.h
index ca670cea43f74f09e5741979e921b268bd4239cd..c51f373b61e92b53845a26c37cc43bf976970c66 100644
(file)
--- a/
src/shared/missing.h
+++ b/
src/shared/missing.h
@@
-37,10
+37,6
@@
#include <linux/capability.h>
#include <linux/neighbour.h>
#include <linux/capability.h>
#include <linux/neighbour.h>
-#ifdef HAVE_AUDIT
-#include <libaudit.h>
-#endif
-
#ifdef ARCH_MIPS
#include <asm/sgidefs.h>
#endif
#ifdef ARCH_MIPS
#include <asm/sgidefs.h>
#endif
@@
-428,6
+424,10
@@
struct btrfs_ioctl_clone_range_args {
#define BTRFS_FIRST_FREE_OBJECTID 256
#endif
#define BTRFS_FIRST_FREE_OBJECTID 256
#endif
+#ifndef BTRFS_LAST_FREE_OBJECTID
+#define BTRFS_LAST_FREE_OBJECTID -256ULL
+#endif
+
#ifndef BTRFS_ROOT_TREE_OBJECTID
#define BTRFS_ROOT_TREE_OBJECTID 1
#endif
#ifndef BTRFS_ROOT_TREE_OBJECTID
#define BTRFS_ROOT_TREE_OBJECTID 1
#endif
@@
-452,6
+452,10
@@
struct btrfs_ioctl_clone_range_args {
#define BTRFS_QGROUP_LIMIT_KEY 244
#endif
#define BTRFS_QGROUP_LIMIT_KEY 244
#endif
+#ifndef BTRFS_ROOT_BACKREF_KEY
+#define BTRFS_ROOT_BACKREF_KEY 144
+#endif
+
#ifndef BTRFS_SUPER_MAGIC
#define BTRFS_SUPER_MAGIC 0x9123683E
#endif
#ifndef BTRFS_SUPER_MAGIC
#define BTRFS_SUPER_MAGIC 0x9123683E
#endif
@@
-931,12
+935,11
@@
static inline int renameat2(int oldfd, const char *oldname, int newfd, const cha
#define RENAME_NOREPLACE (1 << 0)
#endif
#define RENAME_NOREPLACE (1 << 0)
#endif
-#if !HAVE_DECL_KCMP
-static inline int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2) {
- return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2);
-}
-#endif
-#ifndef
KCMP_FILE
-#define
KCMP_FILE 0
+#ifndef
INPUT_PROP_POINTING_STICK
+#define
INPUT_PROP_POINTING_STICK 0x05
#endif
#endif
+
+#ifndef INPUT_PROP_ACCELEROMETER
+#define INPUT_PROP_ACCELEROMETER 0x06
+#endif
\ No newline at end of file