Comment fdrop and fdrop_locked functions.

This commit is contained in:
Alfred Perlstein 2002-01-13 12:58:14 +00:00
parent c2824dd49b
commit ba868b0da2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89310

View File

@ -1499,6 +1499,10 @@ ffind_lock(td, fd)
return (fp);
}
/*
* Drop reference on struct file passed in, may call closef if the
* reference hits zero.
*/
int
fdrop(fp, td)
struct file *fp;
@ -1672,6 +1676,11 @@ fputsock(struct socket *so)
sorele(so);
}
/*
* Drop reference on struct file passed in, may call closef if the
* reference hits zero.
* Expects struct file locked, and will unlock it.
*/
int
fdrop_locked(fp, td)
struct file *fp;