From 4ff964978cd5ed28aee1d392dc33ccd937c93424 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Mon, 17 Jun 2002 09:39:30 +0000 Subject: [PATCH] remove bogus comment, select/poll do NOT need to fhold as they hold the filedesc lock. style(9) fixes, add blank line at start of functions with no local variables. --- sys/sys/file.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/sys/file.h b/sys/sys/file.h index 4eb30507241..7199ad0d25f 100644 --- a/sys/sys/file.h +++ b/sys/sys/file.h @@ -183,6 +183,7 @@ fo_write(fp, uio, cred, flags, td) struct thread *td; int flags; { + return ((*fp->f_ops->fo_write)(fp, uio, cred, flags, td)); } @@ -193,6 +194,7 @@ fo_ioctl(fp, com, data, td) caddr_t data; struct thread *td; { + return ((*fp->f_ops->fo_ioctl)(fp, com, data, td)); } @@ -203,7 +205,7 @@ fo_poll(fp, events, cred, td) struct ucred *cred; struct thread *td; { - /* select(2) and poll(2) hold file descriptors. */ + return ((*fp->f_ops->fo_poll)(fp, events, cred, td)); } @@ -213,6 +215,7 @@ fo_stat(fp, sb, td) struct stat *sb; struct thread *td; { + return ((*fp->f_ops->fo_stat)(fp, sb, td)); }