summaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorTejun Heo2013-11-28 20:54:42 +0100
committerGreg Kroah-Hartman2013-11-30 03:10:48 +0100
commitdf394fb56c64244b30b442e9e02de1a2d9c5a98b (patch)
treefc6b65c4356680c92df02c12ea0e386eeff9c992 /fs/namespace.c
parentsysfs, kernfs: make inode number ida per kernfs_root (diff)
downloadkernel-qcow2-linux-df394fb56c64244b30b442e9e02de1a2d9c5a98b.tar.gz
kernel-qcow2-linux-df394fb56c64244b30b442e9e02de1a2d9c5a98b.tar.xz
kernel-qcow2-linux-df394fb56c64244b30b442e9e02de1a2d9c5a98b.zip
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 <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions