switch (status) {
case INVALIDATE_OBJS:
if((retval = invalidateFromPrefetchCache(readBuffer))!= 0) {
- printf("Error: In invalidateFromPrefetchCache() at %s, %d\n", __FILE__, __LINE__);
- break;
+ printf("Error: In invalidateFromPrefetchCache() at %s, %d\n", __FILE__, __LINE__);
+ break;
}
break;
for(; j < pilecount; j++) {
for(; i < tdata[j].f.nummod; i++) {
- *((unsigned int *) (writeBuffer+localoffset)) = tdata[j].oidmod[i]; //copy objects
- localoffset += sizeof(unsigned int);
- if ((++sentmsgs)==numtosend) {
- i++;
- goto send;
- }
+ *((unsigned int *) (writeBuffer+localoffset)) = tdata[j].oidmod[i]; //copy objects
+ localoffset += sizeof(unsigned int);
+ if ((++sentmsgs)==numtosend) {
+ i++;
+ goto send;
+ }
}
i=0;
}
objheader_t *header;
/* Lookup Objects in prefetch cache and remove them */
if(((header = prehashSearch(oid)) != NULL)) {
- //Keep invalid objects
- STATUS(header)=DIRTY;
- //prehashRemove(oid);
+ //Keep invalid objects
+ STATUS(header)=DIRTY;
+ //prehashRemove(oid);
}
offset += sizeof(unsigned int);
}