diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-08 08:01:31 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-08 08:01:31 +0000 |
commit | 60794e0478b835c275eccb116cd177a789f87f56 (patch) | |
tree | 040efa2f46ce483cf5b045724c67c81b1d43d147 /sys/dev/twe/twe_compat.h | |
parent | 74c69254e6161f609c5b4c3faca34b027753580b (diff) | |
download | src-60794e0478b835c275eccb116cd177a789f87f56.tar.gz src-60794e0478b835c275eccb116cd177a789f87f56.zip |
Centralize the devstat handling for all GEOM disk device drivers
in geom_disk.c.
As a side effect this makes a lot of #include <sys/devicestat.h>
lines not needed and some biofinish() calls can be reduced to
biodone() again.
Notes
Notes:
svn path=/head/; revision=111979
Diffstat (limited to 'sys/dev/twe/twe_compat.h')
-rw-r--r-- | sys/dev/twe/twe_compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/twe/twe_compat.h b/sys/dev/twe/twe_compat.h index 3d104340b98e..7d2f9c710f11 100644 --- a/sys/dev/twe/twe_compat.h +++ b/sys/dev/twe/twe_compat.h @@ -171,8 +171,8 @@ typedef struct bio_queue_head twe_bioq; # define TWE_BIO_HAS_ERROR(bp) ((bp)->bio_flags & BIO_ERROR) # define TWE_BIO_RESID(bp) (bp)->bio_resid # define TWE_BIO_DONE(bp) biodone(bp) -# define TWE_BIO_STATS_START(bp) devstat_start_transaction(&((struct twed_softc *)TWE_BIO_SOFTC(bp))->twed_stats) -# define TWE_BIO_STATS_END(bp) devstat_end_transaction_bio(&((struct twed_softc *)TWE_BIO_SOFTC(bp))->twed_stats, bp) +# define TWE_BIO_STATS_START(bp) +# define TWE_BIO_STATS_END(bp) #endif #endif /* FreeBSD */ |