mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
STABLE14-ubik-calliter-pass-all-args-20041202
FIXES 16556
pass in all args to ubik_CallIter instead of doing (pseudo) varargs
(cherry picked from commit 70df053245
)
This commit is contained in:
parent
288240d3fd
commit
33ea19e7ef
@ -514,6 +514,7 @@ ka_islocked(char *name, char *instance, afs_uint32 * when)
|
||||
code =
|
||||
ubik_CallIter(KAM_LockStatus, conn, UPUBIKONLY, &count, name,
|
||||
instance, &tempwhen, /*spares */ 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0);
|
||||
if (code) {
|
||||
if (seriouserror(code))
|
||||
|
@ -476,7 +476,7 @@ kawrap_ubik_Call(aproc, aclient, aflags, p1, p2, p3, p4, p5, p6, p7, p8)
|
||||
lcode = code;
|
||||
code =
|
||||
ubik_CallIter(aproc, aclient, aflags, &count, p1, p2, p3, p4,
|
||||
p5, p6, p7, p8);
|
||||
p5, p6, p7, p8, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
} while ((code == UNOQUORUM) || (code == UNOTSYNC)
|
||||
|| (code == KALOCKED) || (code == -1));
|
||||
|
||||
|
@ -718,7 +718,7 @@ GetPrincipalLockStatus(const kas_server_p kaserver, const kas_identity_p who,
|
||||
tst =
|
||||
ubik_CallIter(KAM_LockStatus, kaserver->servers, UPUBIKONLY,
|
||||
&count, who->principal, who->instance, &locked, 0,
|
||||
0, 0, 0);
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
if (tst == 0) {
|
||||
if (locked) {
|
||||
if ((locked < *lockedUntil) || !once) {
|
||||
|
Loading…
Reference in New Issue
Block a user