From: Tejun Heo Date: Thu, 28 Nov 2013 19:54:42 +0000 (-0500) Subject: sysfs, kernfs: make super_blocks bind to different kernfs_roots X-Git-Tag: v3.14-rc1~151^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df394fb56c64244b30b442e9e02de1a2d9c5a98b;p=pandora-kernel.git sysfs, kernfs: make super_blocks bind to different kernfs_roots kernfs is being updated to allow multiple sysfs_dirent hierarchies so that it can also be used by other users. Currently, sysfs super_blocks are always attached to one kernfs_root - sysfs_root - and distinguished only by their namespace tags. This patch adds sysfs_super_info->root and update sysfs_fill/test_super() so that super_blocks are identified by the combination of both the associated kernfs_root and namespace tag. This allows mounting different kernfs hierarchies. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed