Skip to content

Commit

Permalink
remove bogus comment, select/poll do NOT need to fhold as they hold the
Browse files Browse the repository at this point in the history
filedesc lock.
style(9) fixes, add blank line at start of functions with no local variables.
  • Loading branch information
splbio committed Jun 17, 2002
1 parent 291ebad commit 4ff9649
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sys/sys/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand All @@ -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));
}

Expand All @@ -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));
}

Expand All @@ -213,6 +215,7 @@ fo_stat(fp, sb, td)
struct stat *sb;
struct thread *td;
{

return ((*fp->f_ops->fo_stat)(fp, sb, td));
}

Expand Down

0 comments on commit 4ff9649

Please sign in to comment.