K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-23T17:23:59.840490Z K 7 svn:log V 337 MFC r182960 (with XEN-related chunks removed): 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. Approved by: re (kensmith) END