]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce closefp() function that we will be able to use to eliminate
authorpjd <pjd@FreeBSD.org>
Mon, 11 Jun 2012 19:57:31 +0000 (19:57 +0000)
committerpjd <pjd@FreeBSD.org>
Mon, 11 Jun 2012 19:57:31 +0000 (19:57 +0000)
commitc8465e01a12c87cc250fef1a3c3e50a9c5f8b8d5
tree1ed9cc4422edbc3b03afc2988fdb85c8ef373343
parentcab8c2dc3aae7f1ca63d0c4fe8b5e0c87d02dad7
Introduce closefp() function that we will be able to use to eliminate
code duplication in kern_close() and do_dup().

This is committed separately from the actual removal of the duplicated
code, as the combined diff was very hard to read.

Discussed with: kib
Tested by: pho
MFC after: 1 month
sys/kern/kern_descrip.c