aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/obdclass/obd_mount.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-12-18 12:13:20 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-08 16:03:44 +0100
commit7dc2155195586ec75f53d6dcd381f935ccc35d02 (patch)
tree1190b5e9b3136f43f7f7a0273d079e986486b7ce /drivers/staging/lustre/lustre/obdclass/obd_mount.c
parentstaging: lustre: obdclass: remove pointless struct lustre_mount_data2 (diff)
downloadlinux-dev-7dc2155195586ec75f53d6dcd381f935ccc35d02.tar.xz
linux-dev-7dc2155195586ec75f53d6dcd381f935ccc35d02.zip
staging: lustre: obdclass: remove vfsmount option from client_fill_super
This arg is always NULL and is never used. So discard it from this and related functions. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/obdclass/obd_mount.c')
-rw-r--r--drivers/staging/lustre/lustre/obdclass/obd_mount.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/staging/lustre/lustre/obdclass/obd_mount.c b/drivers/staging/lustre/lustre/obdclass/obd_mount.c
index c98c7716a910..8068cbbc8390 100644
--- a/drivers/staging/lustre/lustre/obdclass/obd_mount.c
+++ b/drivers/staging/lustre/lustre/obdclass/obd_mount.c
@@ -49,8 +49,7 @@
#include <lustre_disk.h>
#include <uapi/linux/lustre/lustre_param.h>
-static int (*client_fill_super)(struct super_block *sb,
- struct vfsmount *mnt);
+static int (*client_fill_super)(struct super_block *sb);
static void (*kill_super_cb)(struct super_block *sb);
@@ -1159,7 +1158,7 @@ static int lustre_fill_super(struct super_block *sb, void *lmd2_data, int silent
}
/* Connect and start */
/* (should always be ll_fill_super) */
- rc = (*client_fill_super)(sb, NULL);
+ rc = (*client_fill_super)(sb);
/* c_f_s will call lustre_common_put_super on failure */
}
} else {
@@ -1186,8 +1185,7 @@ out:
/* We can't call ll_fill_super by name because it lives in a module that
* must be loaded after this one.
*/
-void lustre_register_client_fill_super(int (*cfs)(struct super_block *sb,
- struct vfsmount *mnt))
+void lustre_register_client_fill_super(int (*cfs)(struct super_block *sb))
{
client_fill_super = cfs;
}