aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
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/core
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/core')
-rw-r--r--drivers/infiniband/core/uverbs_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/core/uverbs_main.c b/drivers/infiniband/core/uverbs_main.c
index 4e16314e8e6d..a617ca7b6923 100644
--- a/drivers/infiniband/core/uverbs_main.c
+++ b/drivers/infiniband/core/uverbs_main.c
@@ -534,9 +534,9 @@ struct file *ib_uverbs_alloc_event_file(struct ib_uverbs_file *uverbs_file,
534 * module reference. 534 * module reference.
535 */ 535 */
536 filp->f_op = fops_get(&uverbs_event_fops); 536 filp->f_op = fops_get(&uverbs_event_fops);
537 filp->f_vfsmnt = mntget(uverbs_event_mnt); 537 filp->f_path.mnt = mntget(uverbs_event_mnt);
538 filp->f_dentry = dget(uverbs_event_mnt->mnt_root); 538 filp->f_path.dentry = dget(uverbs_event_mnt->mnt_root);
539 filp->f_mapping = filp->f_dentry->d_inode->i_mapping; 539 filp->f_mapping = filp->f_path.dentry->d_inode->i_mapping;
540 filp->f_flags = O_RDONLY; 540 filp->f_flags = O_RDONLY;
541 filp->f_mode = FMODE_READ; 541 filp->f_mode = FMODE_READ;
542 filp->private_data = ev_file; 542 filp->private_data = ev_file;