Date: Tue, 16 Jul 2002 19:48:43 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c Message-ID: <200207170248.g6H2mhx1051146@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2002/07/16 19:48:43 PDT Modified files: sys/kern kern_descrip.c Log: Preallocate a struct file as the first thing in falloc() before we lock the filelist_lock and check nfiles. This closes a race where we had to unlock the filedesc to re-lock the filelist_lock. Reported by: David Xu Reviewed by: bde (mostly) Revision Changes Path 1.150 +5 -16 src/sys/kern/kern_descrip.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207170248.g6H2mhx1051146>