sysfs: Pass super_block to sysfs_get_inode
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 13 Feb 2010 03:22:27 +0000 (19:22 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Mar 2010 01:04:52 +0000 (17:04 -0800)
commitfac2622bbad4d7e3a32c53e631e018b80ec631dc
tree42e4ad2b38c6d40c86eabaff5efff2b0adeb0b40
parent2354dcc7218853a6537ec722be40fde9a11c413b
sysfs: Pass super_block to sysfs_get_inode

Currently sysfs_get_inode magically returns an inode on
sysfs_sb.  Make the super_block parameter explicit and
the code becomes clearer.

Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c
fs/sysfs/inode.c
fs/sysfs/mount.c
fs/sysfs/sysfs.h