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/udf/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/udf/super.c')
-rw-r--r-- | fs/udf/super.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index 76f3d6d97b40..4a5c7c61836a 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -107,17 +107,16 @@ struct logicalVolIntegrityDescImpUse *udf_sb_lvidiu(struct udf_sb_info *sbi) | |||
107 | } | 107 | } |
108 | 108 | ||
109 | /* UDF filesystem type */ | 109 | /* UDF filesystem type */ |
110 | static int udf_get_sb(struct file_system_type *fs_type, | 110 | static struct dentry *udf_mount(struct file_system_type *fs_type, |
111 | int flags, const char *dev_name, void *data, | 111 | int flags, const char *dev_name, void *data) |
112 | struct vfsmount *mnt) | ||
113 | { | 112 | { |
114 | return get_sb_bdev(fs_type, flags, dev_name, data, udf_fill_super, mnt); | 113 | return mount_bdev(fs_type, flags, dev_name, data, udf_fill_super); |
115 | } | 114 | } |
116 | 115 | ||
117 | static struct file_system_type udf_fstype = { | 116 | static struct file_system_type udf_fstype = { |
118 | .owner = THIS_MODULE, | 117 | .owner = THIS_MODULE, |
119 | .name = "udf", | 118 | .name = "udf", |
120 | .get_sb = udf_get_sb, | 119 | .mount = udf_mount, |
121 | .kill_sb = kill_block_super, | 120 | .kill_sb = kill_block_super, |
122 | .fs_flags = FS_REQUIRES_DEV, | 121 | .fs_flags = FS_REQUIRES_DEV, |
123 | }; | 122 | }; |