Files
tegra-linux-noble/include/linux
Tejun Heo fa4cd451cc sysfs, kobject: add sysfs wrapper for kernfs_enable_ns()
Currently, kobject is invoking kernfs_enable_ns() directly.  This is
fine now as sysfs and kernfs are enabled and disabled together.  If
sysfs is disabled, kernfs_enable_ns() is switched to dummy
implementation too and everything is fine; however, kernfs will soon
have its own config option CONFIG_KERNFS and !SYSFS && KERNFS will be
possible, which can make kobject call into non-dummy
kernfs_enable_ns() with NULL kernfs_node pointers leading to an oops.

Introduce sysfs_enable_ns() which is a wrapper around
kernfs_enable_ns() so that it can be made a noop depending only on
CONFIG_SYSFS regardless of the planned CONFIG_KERNFS.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-07 16:08:57 -08:00
..
2014-01-20 11:55:23 -08:00
2014-01-24 22:39:54 +01:00
2014-01-17 01:59:38 +01:00
2014-01-14 14:54:00 -05:00
2014-01-28 08:09:46 -07:00
2014-01-16 10:23:02 +10:30
2014-01-25 23:58:17 -05:00
2014-01-16 11:15:50 +01:00
2014-01-26 22:48:35 +01:00
2014-01-25 08:55:09 +01:00
2014-01-08 19:03:00 -02:00
2014-01-16 10:23:03 +10:30
2014-01-27 21:02:39 -08:00
2014-01-22 21:57:17 -08:00
2014-01-25 03:14:05 -05:00
2014-01-13 14:29:49 -08:00
2014-01-22 19:36:57 +01:00
2014-01-28 13:20:09 -08:00
2014-01-23 16:37:02 -08:00
2014-01-27 21:02:39 -08:00
2014-01-30 16:56:55 -08:00