Date: Fri, 12 Sep 2008 09:51:11 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 sys_machdep.c Message-ID: <200809120951.m8C9pOZj037333@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-09-12 09:51:11 UTC
FreeBSD src repository
Modified files:
sys/i386/i386 sys_machdep.c
Log:
SVN rev 182960 on 2008-09-12 09:51:11Z by kib
The user_ldt_alloc() function shall return with dt_lock locked.
The user_ldt_free() function shall return with dt_lock unlocked.
Error handling code in both functions do not handle this, fix it by
doing necessary lock/unlock.
While there, fix minor style nits.
MFC after: 1 week
Revision Changes Path
1.116 +9 -5 src/sys/i386/i386/sys_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809120951.m8C9pOZj037333>
