Commit 36144077bce9f89763ce994bc631cbd1c9db7785

Authored by Jens Axboe
1 parent 051cc3952a

highmem: use bio_has_data() in the bounce path

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -267,7 +267,7 @@
267 267 /*
268 268 * Data-less bio, nothing to bounce
269 269 */
270   - if (bio_empty_barrier(*bio_orig))
  270 + if (!bio_has_data(*bio_orig))
271 271 return;
272 272  
273 273 /*