aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/geom_io.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2007-02-23 23:06:10 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2007-02-23 23:06:10 +0000
commit6e50e38fcce8c444397d635c689c842a5af05dae (patch)
tree5a5982bfc22dc52ef26abd8c64d36de520251b0c /sys/geom/geom_io.c
parent4a50bbc03e3c313dabee24c165cbc8c93bfa4c61 (diff)
downloadsrc-6e50e38fcce8c444397d635c689c842a5af05dae.tar.gz
src-6e50e38fcce8c444397d635c689c842a5af05dae.zip
Use tsleep() rather than msleep() with a NULL mtx parameter.
Notes
Notes: svn path=/head/; revision=166934
Diffstat (limited to 'sys/geom/geom_io.c')
-rw-r--r--sys/geom/geom_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c
index e8e00ed746b8..a074534962dd 100644
--- a/sys/geom/geom_io.c
+++ b/sys/geom/geom_io.c
@@ -492,7 +492,7 @@ g_io_schedule_down(struct thread *tp __unused)
g_bioq_unlock(&g_bio_run_down);
if (pace > 0) {
CTR1(KTR_GEOM, "g_down pacing self (pace %d)", pace);
- msleep(&error, NULL, PRIBIO, "g_down", hz/10);
+ tsleep(&error, PRIBIO, "g_down", hz/10);
pace--;
}
error = g_io_check(bp);