git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: change the tag sync vs async restriction logic
[safe/jmp/linux-2.6]
/
block
/
blk-barrier.c
diff --git
a/block/blk-barrier.c
b/block/blk-barrier.c
index
0ab81a0
..
0d98054
100644
(file)
--- a/
block/blk-barrier.c
+++ b/
block/blk-barrier.c
@@
-218,7
+218,7
@@
static inline bool start_ordered(struct request_queue *q, struct request **rqp)
} else
skip |= QUEUE_ORDSEQ_PREFLUSH;
- if ((q->ordered & QUEUE_ORDERED_BY_DRAIN) && q
->in_flight
)
+ if ((q->ordered & QUEUE_ORDERED_BY_DRAIN) && q
ueue_in_flight(q)
)
rq = NULL;
else
skip |= QUEUE_ORDSEQ_DRAIN;