summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/gfs2/ops_fstype.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index b68eb6b4a4c1..b040fda1f54c 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -812,11 +812,10 @@ static int fill_super(struct super_block *sb, void *data, int silent)
return error;
}
-static struct super_block *gfs2_get_sb(struct file_system_type *fs_type,
- int flags, const char *dev_name,
- void *data)
+static int gfs2_get_sb(struct file_system_type *fs_type, int flags,
+ const char *dev_name, void *data, struct vfsmount *mnt)
{
- return get_sb_bdev(fs_type, flags, dev_name, data, fill_super);
+ return get_sb_bdev(fs_type, flags, dev_name, data, fill_super, mnt);
}
static void gfs2_kill_sb(struct super_block *sb)