diff options
author | 2007-05-29 16:36:35 +0000 | |
---|---|---|
committer | 2007-05-29 16:36:35 +0000 | |
commit | 4cce0c4fb2b30d869c8c1d53909652d1ec08c784 (patch) | |
tree | 956d65ab37076858542d5bf0bedbafc4f77c6b4e /sys/dev/softraid.c | |
parent | Fix race in sync code. (diff) | |
download | wireguard-openbsd-4cce0c4fb2b30d869c8c1d53909652d1ec08c784.tar.xz wireguard-openbsd-4cce0c4fb2b30d869c8c1d53909652d1ec08c784.zip |
Kill stale comment
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r-- | sys/dev/softraid.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index 4d209e6c2da..0bccc189af9 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.53 2007/05/29 16:31:38 marco Exp $ */ +/* $OpenBSD: softraid.c,v 1.54 2007/05/29 16:36:35 marco Exp $ */ /* * Copyright (c) 2007 Marco Peereboom <marco@peereboom.us> * @@ -1462,7 +1462,6 @@ sr_raid1_sync(struct sr_workunit *wu) s = splbio(); sd->sd_sync = 1; - /* assume that there isn't any more io comming in, count sync wu */ while (sd->sd_wu_pending > 1) if (tsleep(sd, PRIBIO, "sr_sync", 60 * hz) == EWOULDBLOCK) { DNPRINTF(SR_D_DIS, "%s: sr_raid1_sync timeout\n", |