Skip to content

Commit

Permalink
[patch 1/1] gfs2: get_sb_dev() fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Steven Whitehouse committed Jul 3, 2006
1 parent 02630a1 commit ccd6efd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions fs/gfs2/ops_fstype.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ccd6efd

Please sign in to comment.