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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 3 Jun 2014 15:11:18 +0000 (08:11 -0700)
commitc9482a5bdcc09be9096f40e858c5fe39c389cd52
tree7227a6ac1cee3b5280de6dc51f37e7501af56385
parentcae61ba37b4c2672704cbd8a626fbd85be7e67d9
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/kernfs/mount.c
fs/sysfs/mount.c
include/linux/kernfs.h
kernel/cgroup.c