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)
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

Simple merge
Simple merge
Simple merge
diff --cc kernel/cgroup.c
Simple merge