Use untraced __bio_endio() for nested bio handling path to suppress duplicated trace event. Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxx> Cc: Martin K. Petersen <martin.petersen@xxxxxxxxxx> --- fs/bio-integrity.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/bio-integrity.c b/fs/bio-integrity.c index 9c5e6b2cd11a..85bebe1b77b5 100644 --- a/fs/bio-integrity.c +++ b/fs/bio-integrity.c @@ -541,7 +541,7 @@ static void bio_integrity_verify_fn(struct work_struct *work) /* Restore original bio completion handler */ bio->bi_end_io = bip->bip_end_io; - bio_endio(bio, error); + __bio_endio(bio, error); } /** @@ -568,7 +568,7 @@ void bio_integrity_endio(struct bio *bio, int error) */ if (error) { bio->bi_end_io = bip->bip_end_io; - bio_endio(bio, error); + __bio_endio(bio, error); return; } -- 1.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html