summaryrefslogtreecommitdiff
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-06-07 20:31:50 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-06-07 20:36:06 -0400
commit7e570195d49389fd7119b72d5de8fb458fc82f1a (patch)
tree73599d5448c844caec9b2f29441fe7cb9a6620ae /include/linux/kobject.h
parent529d14db49276c199782680931c411b984c733cf (diff)
Update bcachefs sources to b0a446bcc860 bcachefs: Reduce __bch2_btree_node_alloc() stack usage
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 24096a62..d82ef20f 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -127,4 +127,17 @@ static inline void kset_unregister(struct kset *kset)
#define kset_create_and_add(_name, _u, _parent) \
((struct kset *) kzalloc(sizeof(struct kset), GFP_KERNEL))
+enum kobject_action {
+ KOBJ_ADD,
+ KOBJ_REMOVE,
+ KOBJ_CHANGE,
+ KOBJ_MOVE,
+ KOBJ_ONLINE,
+ KOBJ_OFFLINE,
+ KOBJ_BIND,
+ KOBJ_UNBIND,
+};
+
+static inline void kobject_uevent_env(struct kobject *kobj, int flags, char **envp) {}
+
#endif /* _KOBJECT_H_ */