[patch 1/1] gfs2: get_sb_dev() fix
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>
This commit is contained in:
parent
02630a12c7
commit
ccd6efd0cd
|
@ -812,11 +812,10 @@ static int fill_super(struct super_block *sb, void *data, int silent)
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct super_block *gfs2_get_sb(struct file_system_type *fs_type,
|
static int gfs2_get_sb(struct file_system_type *fs_type, int flags,
|
||||||
int flags, const char *dev_name,
|
const char *dev_name, void *data, struct vfsmount *mnt)
|
||||||
void *data)
|
|
||||||
{
|
{
|
||||||
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)
|
static void gfs2_kill_sb(struct super_block *sb)
|
||||||
|
|
Loading…
Reference in New Issue