diff options
Diffstat (limited to 'drivers/xen/xenfs/super.c')
| -rw-r--r-- | drivers/xen/xenfs/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/xen/xenfs/super.c b/drivers/xen/xenfs/super.c index d6662b789b6b..f6339d11d59c 100644 --- a/drivers/xen/xenfs/super.c +++ b/drivers/xen/xenfs/super.c | |||
| @@ -121,17 +121,17 @@ static int xenfs_fill_super(struct super_block *sb, void *data, int silent) | |||
| 121 | return rc; | 121 | return rc; |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | static int xenfs_get_sb(struct file_system_type *fs_type, | 124 | static int xenfs_mount(struct file_system_type *fs_type, |
| 125 | int flags, const char *dev_name, | 125 | int flags, const char *dev_name, |
| 126 | void *data, struct vfsmount *mnt) | 126 | void *data) |
| 127 | { | 127 | { |
| 128 | return get_sb_single(fs_type, flags, data, xenfs_fill_super, mnt); | 128 | return mount_single(fs_type, flags, data, xenfs_fill_super); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | static struct file_system_type xenfs_type = { | 131 | static struct file_system_type xenfs_type = { |
| 132 | .owner = THIS_MODULE, | 132 | .owner = THIS_MODULE, |
| 133 | .name = "xenfs", | 133 | .name = "xenfs", |
| 134 | .get_sb = xenfs_get_sb, | 134 | .mount = xenfs_mount, |
| 135 | .kill_sb = kill_litter_super, | 135 | .kill_sb = kill_litter_super, |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
