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:
Douglas Engert 2004-12-07 06:07:20 +00:00 committed by Derrick Brashear
parent 288240d3fd
commit 33ea19e7ef
3 changed files with 3 additions and 2 deletions

View File

@ -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))

View File

@ -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));

View File

@ -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) {