aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/blktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blktrace.c b/block/blktrace.c
index 265f7a830619..2b4ef2b89b8d 100644
--- a/block/blktrace.c
+++ b/block/blktrace.c
@@ -217,7 +217,7 @@ static int blk_trace_remove(request_queue_t *q)
217 217
218static int blk_dropped_open(struct inode *inode, struct file *filp) 218static int blk_dropped_open(struct inode *inode, struct file *filp)
219{ 219{
220 filp->private_data = inode->u.generic_ip; 220 filp->private_data = inode->i_private;
221 221
222 return 0; 222 return 0;
223} 223}