git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vfs: Fix absolute RCU path walk failures due to uninitialized seq number
[pandora-kernel.git]
/
block
/
blk-flush.c
diff --git
a/block/blk-flush.c
b/block/blk-flush.c
index
93d5fd8
..
eba4a27
100644
(file)
--- a/
block/blk-flush.c
+++ b/
block/blk-flush.c
@@
-261,7
+261,7
@@
static bool blk_kick_flush(struct request_queue *q)
q->flush_rq.end_io = flush_end_io;
q->flush_pending_idx ^= 1;
q->flush_rq.end_io = flush_end_io;
q->flush_pending_idx ^= 1;
-
elv_insert(q, &q->flush_rq, ELEVATOR_INSERT_REQUEUE
);
+
list_add_tail(&q->flush_rq.queuelist, &q->queue_head
);
return true;
}
return true;
}
@@
-281,7
+281,7
@@
static void flush_data_end_io(struct request *rq, int error)
* blk_insert_flush - insert a new FLUSH/FUA request
* @rq: request to insert
*
* blk_insert_flush - insert a new FLUSH/FUA request
* @rq: request to insert
*
- * To be called from
elv_inser
t() for %ELEVATOR_INSERT_FLUSH insertions.
+ * To be called from
__elv_add_reques
t() for %ELEVATOR_INSERT_FLUSH insertions.
* @rq is being submitted. Analyze what needs to be done and put it on the
* right queue.
*
* @rq is being submitted. Analyze what needs to be done and put it on the
* right queue.
*
@@
-312,7
+312,7
@@
void blk_insert_flush(struct request *rq)
*/
if ((policy & REQ_FSEQ_DATA) &&
!(policy & (REQ_FSEQ_PREFLUSH | REQ_FSEQ_POSTFLUSH))) {
*/
if ((policy & REQ_FSEQ_DATA) &&
!(policy & (REQ_FSEQ_PREFLUSH | REQ_FSEQ_POSTFLUSH))) {
- list_add(&rq->queuelist, &q->queue_head);
+ list_add
_tail
(&rq->queuelist, &q->queue_head);
return;
}
return;
}