diff options
Diffstat (limited to 'fs/bfs')
-rw-r--r-- | fs/bfs/inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c index 883e77acd5a8..76db6d7d49bb 100644 --- a/fs/bfs/inode.c +++ b/fs/bfs/inode.c | |||
@@ -450,16 +450,16 @@ out: | |||
450 | return ret; | 450 | return ret; |
451 | } | 451 | } |
452 | 452 | ||
453 | static int bfs_get_sb(struct file_system_type *fs_type, | 453 | static struct dentry *bfs_mount(struct file_system_type *fs_type, |
454 | int flags, const char *dev_name, void *data, struct vfsmount *mnt) | 454 | int flags, const char *dev_name, void *data) |
455 | { | 455 | { |
456 | return get_sb_bdev(fs_type, flags, dev_name, data, bfs_fill_super, mnt); | 456 | return mount_bdev(fs_type, flags, dev_name, data, bfs_fill_super); |
457 | } | 457 | } |
458 | 458 | ||
459 | static struct file_system_type bfs_fs_type = { | 459 | static struct file_system_type bfs_fs_type = { |
460 | .owner = THIS_MODULE, | 460 | .owner = THIS_MODULE, |
461 | .name = "bfs", | 461 | .name = "bfs", |
462 | .get_sb = bfs_get_sb, | 462 | .mount = bfs_mount, |
463 | .kill_sb = kill_block_super, | 463 | .kill_sb = kill_block_super, |
464 | .fs_flags = FS_REQUIRES_DEV, | 464 | .fs_flags = FS_REQUIRES_DEV, |
465 | }; | 465 | }; |