aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_file_ops.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 05:37:10 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:46 -0500
commit1cfd6e648b5ea21b0d48bf6f18b129e4576557d5 (patch)
treef38dd0031c3a568087cdca633c86c81ecfa5dce3 /drivers/infiniband/hw/ipath/ipath_file_ops.c
parent4db61081fac72623eb638f918819046361ff1508 (diff)
[PATCH] struct path: convert infiniband
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_file_ops.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_file_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_file_ops.c b/drivers/infiniband/hw/ipath/ipath_file_ops.c
index a9ddc6911f66..340f27e3ebff 100644
--- a/drivers/infiniband/hw/ipath/ipath_file_ops.c
+++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c
@@ -1745,9 +1745,9 @@ static int ipath_assign_port(struct file *fp,
1745 goto done; 1745 goto done;
1746 } 1746 }
1747 1747
1748 i_minor = iminor(fp->f_dentry->d_inode) - IPATH_USER_MINOR_BASE; 1748 i_minor = iminor(fp->f_path.dentry->d_inode) - IPATH_USER_MINOR_BASE;
1749 ipath_cdbg(VERBOSE, "open on dev %lx (minor %d)\n", 1749 ipath_cdbg(VERBOSE, "open on dev %lx (minor %d)\n",
1750 (long)fp->f_dentry->d_inode->i_rdev, i_minor); 1750 (long)fp->f_path.dentry->d_inode->i_rdev, i_minor);
1751 1751
1752 if (i_minor) 1752 if (i_minor)
1753 ret = find_free_port(i_minor - 1, fp, uinfo); 1753 ret = find_free_port(i_minor - 1, fp, uinfo);