diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-30 05:16:34 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-07-03 11:23:09 -0400 |
commit | ccd6efd0cd1244d5d4404393576c37f269de4c5a (patch) | |
tree | 14c1eaf73decf5d5fa2618d54c412266dd0884b9 | |
parent | 02630a12c7f72fa294981c8d86e38038781c25b7 (diff) |
[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>
-rw-r--r-- | fs/gfs2/ops_fstype.c | 7 |
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) | |||
812 | return error; | 812 | return error; |
813 | } | 813 | } |
814 | 814 | ||
815 | static struct super_block *gfs2_get_sb(struct file_system_type *fs_type, | 815 | static int gfs2_get_sb(struct file_system_type *fs_type, int flags, |
816 | int flags, const char *dev_name, | 816 | const char *dev_name, void *data, struct vfsmount *mnt) |
817 | void *data) | ||
818 | { | 817 | { |
819 | return get_sb_bdev(fs_type, flags, dev_name, data, fill_super); | 818 | return get_sb_bdev(fs_type, flags, dev_name, data, fill_super, mnt); |
820 | } | 819 | } |
821 | 820 | ||
822 | static void gfs2_kill_sb(struct super_block *sb) | 821 | static void gfs2_kill_sb(struct super_block *sb) |