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)
commit26fc9cd200ec839e0b3095e05ae018f27314e7aa
tree26929ec0f651c6ddaac58cd8061f4a9644440a86
parent9f70a40128a4ddceffb6d21dd490f6ab4bc34c97
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