[PATCH 3/6] bounce: convert to __bio_endio() for bounced bio's

From: Namhyung Kim
Date: Sun Aug 28 2011 - 23:50:47 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/