#include <string.h>
#include <sys/stat.h>
#include <afs/assert.h>
+#include <afs/afsutil.h>
#include <rx/xdr.h>
#include "afs/afsint.h"
/* forward declarations */
static int ObliterateRegion(Volume * avp, VnodeClass aclass, StreamHandle_t * afile,
afs_int32 * aoffset);
+#if 0
static void PurgeIndex(Volume * vp, VnodeClass class);
+static void PurgeHeader(Volume * vp);
+#endif
+
static void PurgeIndex_r(Volume * vp, VnodeClass class);
static void PurgeHeader_r(Volume * vp);
-static void PurgeHeader(Volume * vp);
/* No lock needed. Only the volserver will call this, and only one transaction
* can have a given volume (volid/partition pair) in use at a time
return -1;
}
+#if 0
static void
PurgeIndex(Volume * vp, VnodeClass class)
{
PurgeIndex_r(vp, class);
VOL_UNLOCK;
}
+#endif
static void
PurgeIndex_r(Volume * vp, VnodeClass class)
FDH_CLOSE(fdP);
}
+#if 0
static void
PurgeHeader(Volume * vp)
{
PurgeHeader_r(vp);
VOL_UNLOCK;
}
+#endif
static void
PurgeHeader_r(Volume * vp)