summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-06-17 09:39:30 +0000
committeralfred <alfred@FreeBSD.org>2002-06-17 09:39:30 +0000
commit22846f623a1d04d46be5fbaac2b93e7635e43086 (patch)
tree1bdda758cab897efdd1ad15554c85e4b69bd8367 /sys/sys
parentf1b3281a514c70a41eef330a1fc2e4d66ec7e42b (diff)
downloadFreeBSD-src-22846f623a1d04d46be5fbaac2b93e7635e43086.zip
FreeBSD-src-22846f623a1d04d46be5fbaac2b93e7635e43086.tar.gz
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.
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/file.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h
index 4eb3050..7199ad0 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));
}
OpenPOWER on IntegriCloud