diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-07-24 16:46:55 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-29 04:16:13 -0400 |
commit | 152a08366671080f27b32e0c411ad620c5f88b57 (patch) | |
tree | d13d16028f74839c678bce355ba8aac75d939fa8 /fs/ext3/super.c | |
parent | c96e41e92b4aaf11e1f9775ecf0d1c8cbff829ed (diff) |
new helper: mount_bdev()
... and switch of the obvious get_sb_bdev() users to ->mount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 | }; |