summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-06-23 00:35:50 +0000
committerrwatson <rwatson@FreeBSD.org>2004-06-23 00:35:50 +0000
commit083bcb28d6dd44deb7e5813e1203ea9fb74fbf44 (patch)
treec397240bb723ed14163be2bedeee157eb0c6b3af /sys/fs
parentdd4bc2ed67087915110fbc1199163bb268c97222 (diff)
downloadFreeBSD-src-083bcb28d6dd44deb7e5813e1203ea9fb74fbf44.zip
FreeBSD-src-083bcb28d6dd44deb7e5813e1203ea9fb74fbf44.tar.gz
Remove unlocked read annotation for sbspace(); the read is locked.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/fifofs/fifo_vnops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c
index 373b582..ec7bda9 100644
--- a/sys/fs/fifofs/fifo_vnops.c
+++ b/sys/fs/fifofs/fifo_vnops.c
@@ -495,7 +495,6 @@ filt_fifowrite(struct knote *kn, long hint)
if (need_lock)
SOCKBUF_LOCK(&so->so_snd);
kn->kn_data = sbspace(&so->so_snd);
- /* Unlocked read. */
if (so->so_snd.sb_state & SBS_CANTSENDMORE) {
kn->kn_flags |= EV_EOF;
result = 1;
OpenPOWER on IntegriCloud