diff options
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_io.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c index a69d764..3848f45 100644 --- a/sys/geom/geom_io.c +++ b/sys/geom/geom_io.c @@ -115,7 +115,7 @@ g_new_bio(void) bp = uma_zalloc(biozone, M_NOWAIT | M_ZERO); #ifdef KTR - if (KTR_COMPILE & KTR_GEOM) { + if ((KTR_COMPILE & KTR_GEOM) && (ktr_mask & KTR_GEOM)) { struct stack st; CTR1(KTR_GEOM, "g_new_bio(): %p", bp); @@ -133,7 +133,7 @@ g_alloc_bio(void) bp = uma_zalloc(biozone, M_WAITOK | M_ZERO); #ifdef KTR - if (KTR_COMPILE & KTR_GEOM) { + if ((KTR_COMPILE & KTR_GEOM) && (ktr_mask & KTR_GEOM)) { struct stack st; CTR1(KTR_GEOM, "g_alloc_bio(): %p", bp); @@ -148,7 +148,7 @@ void g_destroy_bio(struct bio *bp) { #ifdef KTR - if (KTR_COMPILE & KTR_GEOM) { + if ((KTR_COMPILE & KTR_GEOM) && (ktr_mask & KTR_GEOM)) { struct stack st; CTR1(KTR_GEOM, "g_destroy_bio(): %p", bp); @@ -175,7 +175,7 @@ g_clone_bio(struct bio *bp) bp->bio_children++; } #ifdef KTR - if (KTR_COMPILE & KTR_GEOM) { + if ((KTR_COMPILE & KTR_GEOM) && (ktr_mask & KTR_GEOM)) { struct stack st; CTR2(KTR_GEOM, "g_clone_bio(%p): %p", bp, bp2); @@ -200,7 +200,7 @@ g_duplicate_bio(struct bio *bp) bp2->bio_attribute = bp->bio_attribute; bp->bio_children++; #ifdef KTR - if (KTR_COMPILE & KTR_GEOM) { + if ((KTR_COMPILE & KTR_GEOM) && (ktr_mask & KTR_GEOM)) { struct stack st; CTR2(KTR_GEOM, "g_duplicate_bio(%p): %p", bp, bp2); |