diff options
Diffstat (limited to 'fs/ext3/super.c')
-rw-r--r-- | fs/ext3/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c index db87413d3479..2fedaf8b5012 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c | |||
@@ -3020,16 +3020,16 @@ out: | |||
3020 | 3020 | ||
3021 | #endif | 3021 | #endif |
3022 | 3022 | ||
3023 | static int ext3_get_sb(struct file_system_type *fs_type, | 3023 | static struct dentry *ext3_mount(struct file_system_type *fs_type, |
3024 | int flags, const char *dev_name, void *data, struct vfsmount *mnt) | 3024 | int flags, const char *dev_name, void *data) |
3025 | { | 3025 | { |
3026 | return get_sb_bdev(fs_type, flags, dev_name, data, ext3_fill_super, mnt); | 3026 | return mount_bdev(fs_type, flags, dev_name, data, ext3_fill_super); |
3027 | } | 3027 | } |
3028 | 3028 | ||
3029 | static struct file_system_type ext3_fs_type = { | 3029 | static struct file_system_type ext3_fs_type = { |
3030 | .owner = THIS_MODULE, | 3030 | .owner = THIS_MODULE, |
3031 | .name = "ext3", | 3031 | .name = "ext3", |
3032 | .get_sb = ext3_get_sb, | 3032 | .mount = ext3_mount, |
3033 | .kill_sb = kill_block_super, | 3033 | .kill_sb = kill_block_super, |
3034 | .fs_flags = FS_REQUIRES_DEV, | 3034 | .fs_flags = FS_REQUIRES_DEV, |
3035 | }; | 3035 | }; |