Permalink
Browse files

block: row-iosched: fix compilation for 3.0 kernels

  • Loading branch information...
1 parent 1686cf2 commit bb6563ef198ae9ee73dd4e68853f6851bb3d6231 @gokhanmoral committed Dec 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 block/row-iosched.c
View
@@ -154,7 +154,7 @@ struct row_data {
unsigned int cycle_flags;
};
-#define RQ_ROWQ(rq) ((struct row_queue *) ((rq)->elv.priv[0]))
+#define RQ_ROWQ(rq) ((struct row_queue *) ((rq)->elevator_private[0]))
#define row_log(q, fmt, args...) \
blk_add_trace_msg(q, "%s():" fmt , __func__, ##args)
@@ -553,7 +553,7 @@ row_set_request(struct request_queue *q, struct request *rq, gfp_t gfp_mask)
unsigned long flags;
spin_lock_irqsave(q->queue_lock, flags);
- rq->elv.priv[0] =
+ rq->elevator_private[0] =
(void *)(&rd->row_queues[get_queue_type(rq)]);
spin_unlock_irqrestore(q->queue_lock, flags);

0 comments on commit bb6563e

Please sign in to comment.