]> git.baikalelectronics.ru Git - kernel.git/commit
kernfs: move the last knowledge of sysfs out from kernfs
authorJianyu Zhan <nasa4836@gmail.com>
Sat, 26 Apr 2014 07:40:28 +0000 (15:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 21:33:17 +0000 (14:33 -0700)
commite439808982765fa556f2181e595d50d0a067e618
tree26929ec0f651c6ddaac58cd8061f4a9644440a86
parent7e8634d65fbd3740c7678d2eca82e03f83a8b3cb
kernfs: move the last knowledge of sysfs out from kernfs

There is still one residue of sysfs remaining: the sb_magic
SYSFS_MAGIC. However this should be kernfs user specific,
so this patch moves it out. Kerrnfs user should specify their
magic number while mouting.

Signed-off-by: Jianyu Zhan <nasa4836@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/kernfs/mount.c
fs/sysfs/mount.c
include/linux/kernfs.h
kernel/cgroup.c