mirror of https://gitee.com/openkylin/linux.git
xen/xenfs: update xenfs_mount for new prototype
.mount now returns a struct dentry *. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
parent
20b4755e4f
commit
fe61f1d737
|
@ -121,9 +121,9 @@ static int xenfs_fill_super(struct super_block *sb, void *data, int silent)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int xenfs_mount(struct file_system_type *fs_type,
|
static struct dentry *xenfs_mount(struct file_system_type *fs_type,
|
||||||
int flags, const char *dev_name,
|
int flags, const char *dev_name,
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
return mount_single(fs_type, flags, data, xenfs_fill_super);
|
return mount_single(fs_type, flags, data, xenfs_fill_super);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue