OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
051cc39
)
highmem: use bio_has_data() in the bounce path
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 14 Aug 2008 11:12:15 +0000
(13:12 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:01 +0000
(08:56 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
mm/bounce.c
patch
|
blob
|
history
diff --git
a/mm/bounce.c
b/mm/bounce.c
index
b6d2d0f
..
06722c4
100644
(file)
--- a/
mm/bounce.c
+++ b/
mm/bounce.c
@@
-267,7
+267,7
@@
void blk_queue_bounce(struct request_queue *q, struct bio **bio_orig)
/*
* Data-less bio, nothing to bounce
*/
- if (
bio_empty_barrier
(*bio_orig))
+ if (
!bio_has_data
(*bio_orig))
return;
/*