aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_fs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-07-24 17:48:30 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-10-29 04:16:28 -0400
commitfc14f2fef682df677d64a145256dbd263df2aa7b (patch)
tree74f6b939fbad959a43c04ec646cd0adc8af5f53a /drivers/infiniband/hw/ipath/ipath_fs.c
parent848b83a59b772b8f102bc5e3f1187c2fa5676959 (diff)
convert get_sb_single() users
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_fs.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_fs.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_fs.c b/drivers/infiniband/hw/ipath/ipath_fs.c
index 12d5bf76302c..8c8afc716b98 100644
--- a/drivers/infiniband/hw/ipath/ipath_fs.c
+++ b/drivers/infiniband/hw/ipath/ipath_fs.c
@@ -362,13 +362,13 @@ bail:
362 return ret; 362 return ret;
363} 363}
364 364
365static int ipathfs_get_sb(struct file_system_type *fs_type, int flags, 365static struct dentry *ipathfs_mount(struct file_system_type *fs_type,
366 const char *dev_name, void *data, struct vfsmount *mnt) 366 int flags, const char *dev_name, void *data)
367{ 367{
368 int ret = get_sb_single(fs_type, flags, data, 368 struct dentry *ret;
369 ipathfs_fill_super, mnt); 369 ret = mount_single(fs_type, flags, data, ipathfs_fill_super);
370 if (ret >= 0) 370 if (!IS_ERR(ret))
371 ipath_super = mnt->mnt_sb; 371 ipath_super = ret->d_sb;
372 return ret; 372 return ret;
373} 373}
374 374
@@ -411,7 +411,7 @@ bail:
411static struct file_system_type ipathfs_fs_type = { 411static struct file_system_type ipathfs_fs_type = {
412 .owner = THIS_MODULE, 412 .owner = THIS_MODULE,
413 .name = "ipathfs", 413 .name = "ipathfs",
414 .get_sb = ipathfs_get_sb, 414 .mount = ipathfs_mount,
415 .kill_sb = ipathfs_kill_super, 415 .kill_sb = ipathfs_kill_super,
416}; 416};
417 417