mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
DEVEL15-checkauth-unlock-before-return-20080228
LICENSE IPL10 only matters once you have pthreads, but... (cherry picked from commit 8ffc274282fa40c6e2d35ba861b9dc932afa032d)
This commit is contained in:
parent
20136421a0
commit
5c1af6ac6f
@ -51,9 +51,11 @@ int
|
||||
afsconf_CheckAuth(register struct afsconf_dir *adir,
|
||||
register struct rx_call *acall)
|
||||
{
|
||||
int rc;
|
||||
LOCK_GLOBAL_MUTEX;
|
||||
return ((afsconf_SuperUser(adir, acall, NULL) == 0) ? 10029 : 0);
|
||||
rc = ((afsconf_SuperUser(adir, acall, NULL) == 0) ? 10029 : 0);
|
||||
UNLOCK_GLOBAL_MUTEX;
|
||||
return rc;
|
||||
}
|
||||
#endif /* !defined(UKERNEL) */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user