summaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-11-29 17:19:09 -0500
committerPawel Osmialowski <p.osmialowsk@mcdsrvbld02.digital.local>2015-03-27 18:13:19 +0100
commit08807103786b0d0e56e6585d2c8a563463b51ed7 (patch)
treeb438dd17aaa4142c4a02b7a36ab1ff38f918150c /include/acpi
parent02f3052e8d4552a7b3919c255bee79d4f688709e (diff)
downloadlinux-3.10-08807103786b0d0e56e6585d2c8a563463b51ed7.tar.gz
linux-3.10-08807103786b0d0e56e6585d2c8a563463b51ed7.tar.bz2
linux-3.10-08807103786b0d0e56e6585d2c8a563463b51ed7.zip
sysfs, kernfs: implement kernfs_ns_enabled()
fs/sysfs/symlink.c::sysfs_delete_link() tests @sd->s_flags for SYSFS_FLAG_NS. Let's add kernfs_ns_enabled() so that sysfs doesn't have to test sysfs_dirent flag directly. This makes things tidier for kernfs proper too. This is purely cosmetic. v2: To avoid possible NULL deref, use noop dummy implementation which always returns false when !CONFIG_SYSFS. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions