Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpenBMC Firmware
talos-obmc-linux
Commits
36144077
Commit
36144077
authored
16 years ago
by
Jens Axboe
Browse files
Options
Download
Email Patches
Plain Diff
highmem: use bio_has_data() in the bounce path
Signed-off-by:
Jens Axboe
<
jens.axboe@oracle.com
>
parent
051cc395
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mm/bounce.c
mm/bounce.c
+1
-1
No files found.
mm/bounce.c
View file @
36144077
...
...
@@ -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
;
/*
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment