summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-11-28 14:54:36 -0500
committerPawel Osmialowski <p.osmialowsk@mcdsrvbld02.digital.local>2015-03-27 18:13:18 +0100
commitb73d8e7b291dc35db4f607054b3190f9bc18e9a0 (patch)
tree85212e654ae9df099b1ce3725cf285dae6b84b00
parentc90c3795d69ed5586879dc5f9db4582719282b81 (diff)
downloadlinux-3.10-b73d8e7b291dc35db4f607054b3190f9bc18e9a0.tar.gz
linux-3.10-b73d8e7b291dc35db4f607054b3190f9bc18e9a0.tar.bz2
linux-3.10-b73d8e7b291dc35db4f607054b3190f9bc18e9a0.zip
sysfs, kernfs: drop unused params from sysfs_fill_super()
sysfs_fill_super() takes three params - @sb, @data and @silent - but uses only @sb. Drop the latter two. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--fs/sysfs/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index 852d11519f9..21070c286e3 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -41,7 +41,7 @@ struct sysfs_dirent sysfs_root = {
.s_ino = 1,
};
-static int sysfs_fill_super(struct super_block *sb, void *data, int silent)
+static int sysfs_fill_super(struct super_block *sb)
{
struct inode *inode;
struct dentry *root;
@@ -123,7 +123,7 @@ static struct dentry *sysfs_mount(struct file_system_type *fs_type,
if (IS_ERR(sb))
return ERR_CAST(sb);
if (!sb->s_root) {
- error = sysfs_fill_super(sb, data, flags & MS_SILENT ? 1 : 0);
+ error = sysfs_fill_super(sb);
if (error) {
deactivate_locked_super(sb);
return ERR_PTR(error);