Module Name: src Committed By: riastradh Date: Sat Dec 21 19:02:31 UTC 2024
Modified Files: src/sys/kern: kern_descrip.c Log Message: closef(9): Assert no ERESTART from struct fileops::fo_close. This cannot possibly work so make sure we flag it early. Currently the sys_close wrapper will neuter ERESTART by mapping it to EINTR, but let's catch this mistake earlier where we have better diagnostic information available like what the fo_close function is. (Haven't seen the printf fire in the >decade since I added it, so I think this KASSERT is unlikely.) To generate a diff of this commit: cvs rdiff -u -r1.264 -r1.265 src/sys/kern/kern_descrip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.