afs_int32 code = 0;
afs_int32 nextindex, index = 0;
afs_int32 dbTime;
- afs_int32 tapedumpid;
budb_dumpList dl;
struct budb_dumpEntry *dumpPtr;
int i;
printf("%10u %10u %-2d %16s %2d %5d %s", dumpPtr->id,
dumpPtr->parent, dumpPtr->level, ds,
dumpPtr->tapes.maxTapes - dumpPtr->tapes.b + 1,
- dumpPtr->nVolumes, dumpPtr->name, tapedumpid);
+ dumpPtr->nVolumes, dumpPtr->name);
if (dumpPtr->initialDumpID) /* an appended dump */
printf(" (%u)", dumpPtr->initialDumpID);
else if (dumpPtr->appendedDumpID) /* has appended dumps */
* 1 - yes
*/
+int
callPermitted(call)
struct rx_call *call;
{
if (afsconf_SuperUser(acdir, call, NULL))
permitted = 1;
- exit:
if (acdir)
afsconf_Close(acdir);
return (permitted);
struct dump dump;
struct tape tape;
dumpId dumpid;
- int firstdump;
afs_int32 eval, code = 0;
- int partialDel;
+ int partialDel = 0;
/* iterate until the dump is truly deleted */
};
+int
wantDump(dumpAddrParam, dumpParam, dumpListPtrParam)
char *dumpAddrParam;
char *dumpParam;
return (0);
}
+int
rememberDump(dumpAddrParam, dumpParam, dumpListPtrParam)
char *dumpAddrParam;
char *dumpParam;
dbadr dbAddr, dbAppAddr;
afs_int32 eval, code = 0;
- int old, hash, length, entrySize, j, k, count = 0;
- afs_uint32 toList, toFlag;
+ int old, hash, length, entrySize, count = 0;
if (!callPermitted(call))
return BUDB_NOTPERMITTED;
afs_int32 *clonetime;
{
struct ubik_trans *ut;
- dbadr da, ta, hvia, via, vfa;
+ dbadr da, hvia, via, vfa;
struct dump d;
struct tape t;
struct volFragment vf;
if (eval)
ABORT(eval);
- error_exit:
FreeReturnList(&list);
code = ubik_EndTrans(ut);
return code;
char *path = 0;
dbadr dbAddr;
int type, old, length, hash;
- int block, index;
+ int block = 0, index = 0;
struct memoryHashTable *mht;
afs_int32 eval, code = 0;
return (code);
}
+int
volFragsDump(ut, dumpfid, dbAddr)
struct ubik_trans *ut;
FILE *dumpfid;
{
struct volFragment hostVolFragment, diskVolFragment;
afs_int32 code;
- int block, index;
while (dbAddr) {
code =
}
fprintf(dumpfid, "\nvolfragment entry at %u: block %d, index %d\n",
- dbAddr, block, index);
+ dbAddr, 0, 0);
fprintf(dumpfid, "----------------------------\n");
volFragment_ntoh(&diskVolFragment, &hostVolFragment);
printVolFragment(dumpfid, &hostVolFragment);
#endif /* notdef */
+int
checkHash(ut, hashType)
struct ubik_trans *ut;
int hashType;
int entrySize, hashTableLength;
int bucket;
int old;
- afs_int32 code;
+ afs_int32 code = 0;
mhtPtr = ht_GetType(hashType, &entrySize);
if (mhtPtr == 0)