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
sched: RT-balance, avoid overloading
[pandora-kernel.git]
/
mm
/
bounce.c
diff --git
a/mm/bounce.c
b/mm/bounce.c
index
3b549bf
..
b6d2d0f
100644
(file)
--- a/
mm/bounce.c
+++ b/
mm/bounce.c
@@
-264,6
+264,12
@@
void blk_queue_bounce(struct request_queue *q, struct bio **bio_orig)
{
mempool_t *pool;
+ /*
+ * Data-less bio, nothing to bounce
+ */
+ if (bio_empty_barrier(*bio_orig))
+ return;
+
/*
* for non-isa bounce case, just check if the bounce pfn is equal
* to or bigger than the highest pfn in the system -- in that case,