diff options
Diffstat (limited to 'fs/freevxfs/vxfs_super.c')
-rw-r--r-- | fs/freevxfs/vxfs_super.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/freevxfs/vxfs_super.c b/fs/freevxfs/vxfs_super.c index 71b0148b8784..9d1c99558389 100644 --- a/fs/freevxfs/vxfs_super.c +++ b/fs/freevxfs/vxfs_super.c | |||
@@ -246,17 +246,16 @@ out: | |||
246 | /* | 246 | /* |
247 | * The usual module blurb. | 247 | * The usual module blurb. |
248 | */ | 248 | */ |
249 | static int vxfs_get_sb(struct file_system_type *fs_type, | 249 | static struct dentry *vxfs_mount(struct file_system_type *fs_type, |
250 | int flags, const char *dev_name, void *data, struct vfsmount *mnt) | 250 | int flags, const char *dev_name, void *data) |
251 | { | 251 | { |
252 | return get_sb_bdev(fs_type, flags, dev_name, data, vxfs_fill_super, | 252 | return mount_bdev(fs_type, flags, dev_name, data, vxfs_fill_super); |
253 | mnt); | ||
254 | } | 253 | } |
255 | 254 | ||
256 | static struct file_system_type vxfs_fs_type = { | 255 | static struct file_system_type vxfs_fs_type = { |
257 | .owner = THIS_MODULE, | 256 | .owner = THIS_MODULE, |
258 | .name = "vxfs", | 257 | .name = "vxfs", |
259 | .get_sb = vxfs_get_sb, | 258 | .mount = vxfs_mount, |
260 | .kill_sb = kill_block_super, | 259 | .kill_sb = kill_block_super, |
261 | .fs_flags = FS_REQUIRES_DEV, | 260 | .fs_flags = FS_REQUIRES_DEV, |
262 | }; | 261 | }; |