summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_io.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-02-23 23:06:10 +0000
committerjhb <jhb@FreeBSD.org>2007-02-23 23:06:10 +0000
commit61da08318e61ba89994efed94d3375b1bdcff69b (patch)
tree5a5982bfc22dc52ef26abd8c64d36de520251b0c /sys/geom/geom_io.c
parenteeae7be803149057dfa3b5152d01661f0c8cd958 (diff)
downloadFreeBSD-src-61da08318e61ba89994efed94d3375b1bdcff69b.zip
FreeBSD-src-61da08318e61ba89994efed94d3375b1bdcff69b.tar.gz
Use tsleep() rather than msleep() with a NULL mtx parameter.
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 e8e00ed..a074534 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);
OpenPOWER on IntegriCloud