19#define readOnly(vsp) \
20 ((vsp)->header.type == ROVOL || (vsp)->header.type == BACKVOL)
86static int GetInodeSummary(
char *fspath,
char *
path,
87 VolumeId singleVolumeNumber);
91static int SalvageFileSys(
char *
path,
112static struct
VnodeEssence *CheckVnodeNumber(VnodeId vnodeNumber, Unique_t);
115static
void release_locks(
int);
116static
void GetSkipVolumeNumbers();
117static
void zero_globals();
Definition: rec_dlist.h:49
Definition: recov_vollog.h:47
#define REQUIRES_TRANSACTION
Definition: coda_tsa.h:107
#define EXCLUDES_TRANSACTION
Definition: coda_tsa.h:108
void path(char *pathname, char *direc, char *file)
Definition: path.c:53
Definition: codadir.h:173
Definition: vol-salvage.private.h:74
int copied
Definition: vol-salvage.private.h:80
VolumeId Vid
Definition: vol-salvage.private.h:79
PDCEntry dirCache
Definition: vol-salvage.private.h:75
VnodeId vparent
Definition: vol-salvage.private.h:81
unsigned haveDot
Definition: vol-salvage.private.h:78
Unique_t unique
Definition: vol-salvage.private.h:77
Unique_t uparent
Definition: vol-salvage.private.h:82
VnodeId vnodeNumber
Definition: vol-salvage.private.h:76
unsigned haveDotDot
Definition: vol-salvage.private.h:78
Definition: vol-salvage.private.h:26
Unique_t maxUniquifier
Definition: vol-salvage.private.h:32
VolumeId volumeId
Definition: vol-salvage.private.h:27
VolumeId RWvolumeId
Definition: vol-salvage.private.h:28
int nInodes
Definition: vol-salvage.private.h:30
int index
Definition: vol-salvage.private.h:29
Definition: viceinode.h:59
Definition: vol-salvage.private.h:47
VnodeId vid
Definition: vol-salvage.private.h:62
rec_dlist * log
Definition: vol-salvage.private.h:63
unsigned changed
Definition: vol-salvage.private.h:53
Unique_t uparent
Definition: vol-salvage.private.h:60
Unique_t unique
Definition: vol-salvage.private.h:61
short count
Definition: vol-salvage.private.h:48
unsigned claimed
Definition: vol-salvage.private.h:49
VnodeId vparent
Definition: vol-salvage.private.h:59
unsigned short blockCount
Definition: vol-salvage.private.h:58
Definition: vol-salvage.private.h:66
int volumeBlockCount
Definition: vol-salvage.private.h:69
int nVnodes
Definition: vol-salvage.private.h:67
struct VnodeEssence * vnodes
Definition: vol-salvage.private.h:71
PDirInode * dirnodes
Definition: vol-salvage.private.h:70
int nAllocatedVnodes
Definition: vol-salvage.private.h:68
Definition: vol-salvage.private.h:35
byte wouldNeedCallback
Definition: vol-salvage.private.h:39
char * fileName
Definition: vol-salvage.private.h:36
recov_vol_log * vollog
Definition: vol-salvage.private.h:43
struct InodeSummary * inSummary
Definition: vol-salvage.private.h:42
int volindex
Definition: vol-salvage.private.h:37
struct VolumeHeader header
Definition: vol-salvage.private.h:38
bitmap * logbm
Definition: vol-salvage.private.h:44
int DirCompletenessCheck(struct VolumeSummary *vsp)
Definition: vol-salvage.cc:954
int OnlyOneVolume(struct ViceInodeInfo *, VolumeId)
Definition: vol-salvage.cc:1443
int InSkipVolumeList(VolumeId, VolumeId *, int)
Definition: vol-salvage.cc:1256