summaryrefslogtreecommitdiffstats
path: root/src/basic/missing_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/missing_fs.h')
-rw-r--r--src/basic/missing_fs.h23
1 files changed, 5 insertions, 18 deletions
diff --git a/src/basic/missing_fs.h b/src/basic/missing_fs.h
index ed6bdf0426..60b0a3a2a7 100644
--- a/src/basic/missing_fs.h
+++ b/src/basic/missing_fs.h
@@ -89,30 +89,17 @@ assert_cc(MS_STRICTATIME == (1 << 24));
assert_cc(MS_LAZYTIME == (1<<25));
#endif
-/* Not exposed yet. Defined at fs/ext4/ext4.h */
-#ifndef EXT4_IOC_RESIZE_FS
-#define EXT4_IOC_RESIZE_FS _IOW('f', 16, __u64)
-#endif
-
-/* linux/nsfs.h */
-#ifndef NS_GET_USERNS /* 6786741dbf99e44fb0c0ed85a37582b8a26f1c3b (4.9) */
-#define NS_GET_USERNS _IO(0xb7, 0x1)
-#endif
-
-#ifndef NS_GET_NSTYPE /* e5ff5ce6e20ee22511398bb31fb912466cf82a36 (4.11) */
-#define NS_GET_NSTYPE _IO(0xb7, 0x3)
-#endif
-
-#ifndef NS_GET_OWNER_UID /* d95fa3c76a66b6d76b1e109ea505c55e66360f3c (4.11) */
-#define NS_GET_OWNER_UID _IO(0xb7, 0x4)
-#endif
-
#ifndef FS_PROJINHERIT_FL
# define FS_PROJINHERIT_FL 0x20000000
#else
assert_cc(FS_PROJINHERIT_FL == 0x20000000);
#endif
+/* Not exposed yet. Defined at fs/ext4/ext4.h */
+#ifndef EXT4_IOC_RESIZE_FS
+#define EXT4_IOC_RESIZE_FS _IOW('f', 16, __u64)
+#endif
+
/* linux/fscrypt.h */
#ifndef FS_KEY_DESCRIPTOR_SIZE
# define FS_KEY_DESCRIPTOR_SIZE 8