diff options
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_fs.c b/drivers/infiniband/ulp/ipoib/ipoib_fs.c index 5dde380e8dbe..f1cb83688b31 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_fs.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_fs.c | |||
@@ -141,7 +141,7 @@ static int ipoib_mcg_open(struct inode *inode, struct file *file) | |||
141 | return ret; | 141 | return ret; |
142 | 142 | ||
143 | seq = file->private_data; | 143 | seq = file->private_data; |
144 | seq->private = inode->u.generic_ip; | 144 | seq->private = inode->i_private; |
145 | 145 | ||
146 | return 0; | 146 | return 0; |
147 | } | 147 | } |
@@ -247,7 +247,7 @@ static int ipoib_path_open(struct inode *inode, struct file *file) | |||
247 | return ret; | 247 | return ret; |
248 | 248 | ||
249 | seq = file->private_data; | 249 | seq = file->private_data; |
250 | seq->private = inode->u.generic_ip; | 250 | seq->private = inode->i_private; |
251 | 251 | ||
252 | return 0; | 252 | return 0; |
253 | } | 253 | } |