summaryrefslogtreecommitdiff
path: root/include/linux/kvm_para.h
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 14:37:33 +0100
commita837767f522c27fd12a15dec62e15dc6eabb4294 (patch)
treeebf504e8cda7f81e7dfd4204302df891d4745dda /include/linux/kvm_para.h
parent45feb1d71127b7859809f9398fb6f3c60528a139 (diff)
downloadlinux-3.10-a837767f522c27fd12a15dec62e15dc6eabb4294.tar.gz
linux-3.10-a837767f522c27fd12a15dec62e15dc6eabb4294.tar.bz2
linux-3.10-a837767f522c27fd12a15dec62e15dc6eabb4294.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/linux/kvm_para.h')
0 files changed, 0 insertions, 0 deletions