mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
revert-voldump-v-tag-generation-20090629
LICENSE IPL10 FIXES 18349 generating v tags is currently incompatible. revert this for now
This commit is contained in:
parent
3d5415922e
commit
f202b9778e
@ -385,7 +385,7 @@ ReadVolumeHeader(register struct iod *iodp, VolumeDiskData * vol)
|
|||||||
return VOLSERREAD_DUMPERROR;
|
return VOLSERREAD_DUMPERROR;
|
||||||
break;
|
break;
|
||||||
case 'V':
|
case 'V':
|
||||||
if (!ReadInt32(iodp, (afs_uint32 *) & vol->volUpdateCounter))
|
if (!ReadInt32(iodp, (afs_uint32 *) &trash/*volUpdateCounter*/))
|
||||||
return VOLSERREAD_DUMPERROR;
|
return VOLSERREAD_DUMPERROR;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -727,8 +727,6 @@ DumpVolumeHeader(register struct iod *iodp, register Volume * vp)
|
|||||||
code = DumpInt32(iodp, 'D', V_dayUseDate(vp));
|
code = DumpInt32(iodp, 'D', V_dayUseDate(vp));
|
||||||
if (!code)
|
if (!code)
|
||||||
code = DumpInt32(iodp, 'Z', V_dayUse(vp));
|
code = DumpInt32(iodp, 'Z', V_dayUse(vp));
|
||||||
if (!code)
|
|
||||||
code = DumpInt32(iodp, 'V', V_volUpCounter(vp));
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1514,9 +1512,6 @@ SizeDumpVolumeHeader(register struct iod *iodp, register Volume * vp,
|
|||||||
/* if (!code) code = DumpInt32(iodp, 'Z', V_dayUse(vp)); */
|
/* if (!code) code = DumpInt32(iodp, 'Z', V_dayUse(vp)); */
|
||||||
FillInt64(addvar,0, 5);
|
FillInt64(addvar,0, 5);
|
||||||
AddUInt64(v_size->dump_size, addvar, &v_size->dump_size);
|
AddUInt64(v_size->dump_size, addvar, &v_size->dump_size);
|
||||||
/* if (!code) code = DumpInt32(iodp, 'V', V_volUpCounter(vp)); */
|
|
||||||
FillInt64(addvar,0, 5);
|
|
||||||
AddUInt64(v_size->dump_size, addvar, &v_size->dump_size);
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -345,8 +345,9 @@ ReadVolumeHeader(count)
|
|||||||
case 'Z':
|
case 'Z':
|
||||||
vh.dayUse = ntohl(readvalue(4));
|
vh.dayUse = ntohl(readvalue(4));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'V':
|
case 'V':
|
||||||
vh.volUpdateCounter = ntohl(readvalue(4));
|
readvalue(4); /*volUpCounter*/
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -519,8 +519,6 @@ DumpVolumeHeader(int dumpfd, register Volume * vp)
|
|||||||
code = DumpInt32(dumpfd, 'D', V_dayUseDate(vp));
|
code = DumpInt32(dumpfd, 'D', V_dayUseDate(vp));
|
||||||
if (!code)
|
if (!code)
|
||||||
code = DumpInt32(dumpfd, 'Z', V_dayUse(vp));
|
code = DumpInt32(dumpfd, 'Z', V_dayUse(vp));
|
||||||
if (!code)
|
|
||||||
code = DumpInt32(dumpfd, 'V', V_volUpCounter(vp));
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user