"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ubik/vote.c" between
openafs-1.8.4-src.tar.bz2 and openafs-1.8.5-src.tar.bz2

About: OpenAFS is a distributed filesystem. It offers a client-server architecture for file sharing, providing location independence, scalability and transparent migration capabilities for data. Maintenance release.

vote.c  (openafs-1.8.4-src.tar.bz2):vote.c  (openafs-1.8.5-src.tar.bz2)
skipping to change at line 441 skipping to change at line 441
if ((urecovery_state & UBIK_RECSYNCSITE) if ((urecovery_state & UBIK_RECSYNCSITE)
&& (urecovery_state & UBIK_RECFOUNDDB) && (urecovery_state & UBIK_RECFOUNDDB)
&& (urecovery_state & UBIK_RECHAVEDB)) { && (urecovery_state & UBIK_RECHAVEDB)) {
aparm->recoveryState |= UBIK_RECLABELDB; aparm->recoveryState |= UBIK_RECLABELDB;
} }
aparm->activeWrite = (ubik_dbase->flags & DBWRITING); aparm->activeWrite = (ubik_dbase->flags & DBWRITING);
aparm->tidCounter = ubik_dbase->tidCounter; aparm->tidCounter = ubik_dbase->tidCounter;
if (ubik_currentTrans) { if (ubik_currentTrans) {
aparm->currentTrans = 1; aparm->currentTrans = 1;
if (ubik_currentTrans->type == UBIK_WRITETRANS) aparm->writeTrans = 1;
aparm->writeTrans = 1;
else
aparm->writeTrans = 0;
} else { } else {
aparm->currentTrans = 0; aparm->currentTrans = 0;
} }
aparm->epochTime = version_globals.ubik_epochTime; aparm->epochTime = version_globals.ubik_epochTime;
return 0; return 0;
} }
afs_int32 afs_int32
skipping to change at line 523 skipping to change at line 520
if ((urecovery_state & UBIK_RECSYNCSITE) if ((urecovery_state & UBIK_RECSYNCSITE)
&& (urecovery_state & UBIK_RECFOUNDDB) && (urecovery_state & UBIK_RECFOUNDDB)
&& (urecovery_state & UBIK_RECHAVEDB)) { && (urecovery_state & UBIK_RECHAVEDB)) {
aparm->recoveryState |= UBIK_RECLABELDB; aparm->recoveryState |= UBIK_RECLABELDB;
} }
aparm->activeWrite = (ubik_dbase->flags & DBWRITING); aparm->activeWrite = (ubik_dbase->flags & DBWRITING);
aparm->tidCounter = ubik_dbase->tidCounter; aparm->tidCounter = ubik_dbase->tidCounter;
if (ubik_currentTrans) { if (ubik_currentTrans) {
aparm->currentTrans = 1; aparm->currentTrans = 1;
if (ubik_currentTrans->type == UBIK_WRITETRANS) aparm->writeTrans = 1;
aparm->writeTrans = 1;
else
aparm->writeTrans = 0;
} else { } else {
aparm->currentTrans = 0; aparm->currentTrans = 0;
} }
aparm->epochTime = version_globals.ubik_epochTime; aparm->epochTime = version_globals.ubik_epochTime;
return 0; return 0;
} }
/*! /*!
 End of changes. 2 change blocks. 
8 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)