]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - include/linux/types.h
Update bcachefs sources to 4837f82ee1 bcachefs: Use cached iterators for alloc btree
[bcachefs-tools-debian] / include / linux / types.h
index 2c1e9a2263cefad3e30eb472171d56bfc08e4205..387c38314f0535b41cbba148d85929427086dcfe 100644 (file)
@@ -27,6 +27,7 @@ typedef unsigned gfp_t;
 #define GFP_NOFS       0
 #define GFP_NOIO       0
 #define GFP_NOWAIT     0
+#define __GFP_FS       0
 #define __GFP_IO       0
 #define __GFP_NOWARN   0
 #define __GFP_NORETRY  0
@@ -72,28 +73,4 @@ typedef __u64 __bitwise __be64;
 
 typedef u64 sector_t;
 
-struct list_head {
-       struct list_head *next, *prev;
-};
-
-struct hlist_head {
-       struct hlist_node *first;
-};
-
-struct hlist_node {
-       struct hlist_node *next, **pprev;
-};
-
-struct callback_head {
-       struct callback_head *next;
-       void (*func)(struct callback_head *head);
-} __attribute__((aligned(sizeof(void *))));
-
-#if 0
-#define rcu_head callback_head
-
-typedef void (*rcu_callback_t)(struct rcu_head *head);
-typedef void (*call_rcu_func_t)(struct rcu_head *head, rcu_callback_t func);
-#endif
-
 #endif /* _TOOLS_LINUX_TYPES_H_ */