aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 852d11519f98..21070c286e3f 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -41,7 +41,7 @@ struct sysfs_dirent sysfs_root = {
41 .s_ino = 1, 41 .s_ino = 1,
42}; 42};
43 43
44static int sysfs_fill_super(struct super_block *sb, void *data, int silent) 44static int sysfs_fill_super(struct super_block *sb)
45{ 45{
46 struct inode *inode; 46 struct inode *inode;
47 struct dentry *root; 47 struct dentry *root;
@@ -123,7 +123,7 @@ static struct dentry *sysfs_mount(struct file_system_type *fs_type,
123 if (IS_ERR(sb)) 123 if (IS_ERR(sb))
124 return ERR_CAST(sb); 124 return ERR_CAST(sb);
125 if (!sb->s_root) { 125 if (!sb->s_root) {
126 error = sysfs_fill_super(sb, data, flags & MS_SILENT ? 1 : 0); 126 error = sysfs_fill_super(sb);
127 if (error) { 127 if (error) {
128 deactivate_locked_super(sb); 128 deactivate_locked_super(sb);
129 return ERR_PTR(error); 129 return ERR_PTR(error);