summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-02-10 22:33:59 +0000
committerjeff <jeff@FreeBSD.org>2003-02-10 22:33:59 +0000
commit249222186474cb846cf7e7cbde6039f322c646af (patch)
treee4592bd7181ffb86e309de3f9a61394db7063955 /sys
parent2f1ebf5ae154966f3062c359d668ff4343cc40ad (diff)
downloadFreeBSD-src-249222186474cb846cf7e7cbde6039f322c646af.zip
FreeBSD-src-249222186474cb846cf7e7cbde6039f322c646af.tar.gz
- Unlock the nblock after the loop in bwillwrite().
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 46b7a1a..8274761 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1155,7 +1155,7 @@ bwillwrite(void)
(PRIBIO + 4), "flswai", 0);
}
splx(s);
- mtx_lock(&nblock);
+ mtx_unlock(&nblock);
mtx_unlock(&Giant);
}
}
OpenPOWER on IntegriCloud