[patch 1/1] gfs2: get_sb_dev() fix
authorAndrew Morton <akpm@osdl.org>
Fri, 30 Jun 2006 09:16:34 +0000 (02:16 -0700)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 3 Jul 2006 15:23:09 +0000 (11:23 -0400)
Update GFS2 for dhowells API changes.

Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_fstype.c

index b68eb6b..b040fda 100644 (file)
@@ -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)