diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-05-20 16:27:44 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-05-20 16:27:44 -0400 |
commit | ad34ea2cc3845ef4dcd7d12fb0fa8484734bd672 (patch) | |
tree | ad434400f5ecaa33b433c8f830e40792d8d6c05c /mm/highmem.c | |
parent | 90356ac3194bf91a441a5f9c3067af386ef62462 (diff) | |
parent | 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 (diff) |
merge by hand - fix up rejections in Documentation/DocBook/Makefile
Diffstat (limited to 'mm/highmem.c')
-rw-r--r-- | mm/highmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/highmem.c b/mm/highmem.c index d01276506b00..400911599468 100644 --- a/mm/highmem.c +++ b/mm/highmem.c | |||
@@ -325,6 +325,7 @@ static void bounce_end_io(struct bio *bio, mempool_t *pool, int err) | |||
325 | continue; | 325 | continue; |
326 | 326 | ||
327 | mempool_free(bvec->bv_page, pool); | 327 | mempool_free(bvec->bv_page, pool); |
328 | dec_page_state(nr_bounce); | ||
328 | } | 329 | } |
329 | 330 | ||
330 | bio_endio(bio_orig, bio_orig->bi_size, err); | 331 | bio_endio(bio_orig, bio_orig->bi_size, err); |
@@ -405,6 +406,7 @@ static void __blk_queue_bounce(request_queue_t *q, struct bio **bio_orig, | |||
405 | to->bv_page = mempool_alloc(pool, q->bounce_gfp); | 406 | to->bv_page = mempool_alloc(pool, q->bounce_gfp); |
406 | to->bv_len = from->bv_len; | 407 | to->bv_len = from->bv_len; |
407 | to->bv_offset = from->bv_offset; | 408 | to->bv_offset = from->bv_offset; |
409 | inc_page_state(nr_bounce); | ||
408 | 410 | ||
409 | if (rw == WRITE) { | 411 | if (rw == WRITE) { |
410 | char *vto, *vfrom; | 412 | char *vto, *vfrom; |