diff options
author | jeff <jeff@FreeBSD.org> | 2003-02-10 22:47:34 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-02-10 22:47:34 +0000 |
commit | 4d663017dc8999384de372a2083892b9a7d0c41d (patch) | |
tree | d97dc32cfddae188c855b97c59e201ed4989fad6 | |
parent | 249222186474cb846cf7e7cbde6039f322c646af (diff) | |
download | FreeBSD-src-4d663017dc8999384de372a2083892b9a7d0c41d.zip FreeBSD-src-4d663017dc8999384de372a2083892b9a7d0c41d.tar.gz |
- Add a comment about a race that will happen without Giant.
-rw-r--r-- | sys/kern/vfs_bio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 8274761..3dbbed6 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1865,6 +1865,7 @@ restart: if (BUF_LOCK(bp, LK_EXCLUSIVE | LK_NOWAIT) != 0) panic("getnewbuf: locked buf"); + /* XXX bqlock needs to be held across bremfree() */ mtx_unlock(&bqlock); bremfree(bp); |