aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorBharath Vedartham <linux.bhar@gmail.com>2019-05-23 12:56:20 -0400
committerDominique Martinet <dominique.martinet@cea.fr>2019-09-03 07:10:13 -0400
commitaafee43b72863f1f70aeaf1332d049916e8df239 (patch)
treee6f05b3918b6853c080480e8de7dc65533e05835 /fs
parent962a991c5de18452d6c429d99f3039387cf5cbb0 (diff)
9p/vfs_super.c: Remove unused parameter data in v9fs_fill_super
v9fs_fill_super has a param 'void *data' which is unused in the function. This patch removes the 'void *data' param in v9fs_fill_super and changes the parameters in all function calls of v9fs_fill_super. Link: http://lkml.kernel.org/r/20190523165619.GA4209@bharath12345-Inspiron-5559 Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com> Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Diffstat (limited to 'fs')
-rw-r--r--fs/9p/vfs_super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c
index 08112fbcaece..6c5ac0a5e539 100644
--- a/fs/9p/vfs_super.c
+++ b/fs/9p/vfs_super.c
@@ -58,7 +58,7 @@ static int v9fs_set_super(struct super_block *s, void *data)
58 58
59static int 59static int
60v9fs_fill_super(struct super_block *sb, struct v9fs_session_info *v9ses, 60v9fs_fill_super(struct super_block *sb, struct v9fs_session_info *v9ses,
61 int flags, void *data) 61 int flags)
62{ 62{
63 int ret; 63 int ret;
64 64
@@ -128,7 +128,7 @@ static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags,
128 retval = PTR_ERR(sb); 128 retval = PTR_ERR(sb);
129 goto clunk_fid; 129 goto clunk_fid;
130 } 130 }
131 retval = v9fs_fill_super(sb, v9ses, flags, data); 131 retval = v9fs_fill_super(sb, v9ses, flags);
132 if (retval) 132 if (retval)
133 goto release_sb; 133 goto release_sb;
134 134