kernfs: implement kernfs_root->supers list
authorTejun Heo <tj@kernel.org>
Wed, 9 Apr 2014 15:07:30 +0000 (11:07 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 18:43:31 +0000 (11:43 -0700)
Currently, there's no way to find out which super_blocks are
associated with a given kernfs_root.  Let's implement it - the planned
inotify extension to kernfs_notify() needs it.

Make kernfs_super_info point back to the super_block and chain it at
kernfs_root->supers.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/kernfs/dir.c
fs/kernfs/kernfs-internal.h
fs/kernfs/mount.c
include/linux/kernfs.h

diff --cc fs/kernfs/dir.c
Simple merge
Simple merge
Simple merge
Simple merge