Skip to content

Commit

Permalink
xen/xenfs: update xenfs_mount for new prototype
Browse files Browse the repository at this point in the history
.mount now returns a struct dentry *.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
Jeremy Fitzhardinge committed Nov 16, 2010
1 parent 20b4755 commit fe61f1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/xen/xenfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ static int xenfs_fill_super(struct super_block *sb, void *data, int silent)
return rc;
}

static int xenfs_mount(struct file_system_type *fs_type,
int flags, const char *dev_name,
void *data)
static struct dentry *xenfs_mount(struct file_system_type *fs_type,
int flags, const char *dev_name,
void *data)
{
return mount_single(fs_type, flags, data, xenfs_fill_super);
}
Expand Down

0 comments on commit fe61f1d

Please sign in to comment.