lkml.org 
[lkml]   [2011]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/6] bounce: convert to __bio_endio() for bounced bio's
Date
Use untraced __bio_endio() for nested bio handling path to
suppress duplicated trace event.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: linux-mm@kvack.org
---
mm/bounce.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/bounce.c b/mm/bounce.c
index 1481de68184b..c21289571d4d 100644
--- a/mm/bounce.c
+++ b/mm/bounce.c
@@ -142,7 +142,7 @@ static void bounce_end_io(struct bio *bio, mempool_t *pool, int err)
mempool_free(bvec->bv_page, pool);
}

- bio_endio(bio_orig, err);
+ __bio_endio(bio_orig, err);
bio_put(bio);
}

--
1.7.6


\
 
 \ /
  Last update: 2011-08-29 05:53    [W:1.539 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site