fs: limit filesystem stacking depth
[pandora-kernel.git] / include / linux / kobject.h
index ad81e1c..445f978 100644 (file)
@@ -226,7 +226,7 @@ static inline int kobject_uevent_env(struct kobject *kobj,
 
 static inline __printf(2, 3)
 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...)
-{ return 0; }
+{ return -ENOMEM; }
 
 static inline int kobject_action_type(const char *buf, size_t count,
                                      enum kobject_action *type)