Use untraced __bio_endio() for nested bio handling path to suppress duplicated trace event. Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxx> Cc: linux-mm@xxxxxxxxx --- 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>