diff options
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r-- | sys/kern/sys_pipe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index c79f9ec..11ab6d1 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -1211,6 +1211,10 @@ pipe_poll(fp, events, cred, td) return (revents); } +/* + * We shouldn't need locks here as we're doing a read and this should + * be a natural race. + */ static int pipe_stat(fp, ub, td) struct file *fp; |