Changeset 2315 for box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp
- Timestamp:
- 03/10/2008 23:43:17 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp
r2302 r2315 1079 1079 { 1080 1080 // Use this one 1081 BOX_TRACE("Storing uploaded file ID " << inodeNum << " (" << filename << " in ID map as object " << latestObjectID << " with parent " << mObjectID << " (" << rLocalPath << ")"); 1081 1082 idMap.AddToMap(inodeNum, latestObjectID, mObjectID /* containing directory */); 1082 1083 } … … 1090 1091 { 1091 1092 // Found 1093 if (dirid != mObjectID) 1094 { 1095 BOX_WARNING("Found conflicting parent ID for file ID " << inodeNum << " (" << filename << "): expected " << mObjectID << " (" << rLocalPath << ") but found " << dirid << " (same directory used in two different locations?)"); 1096 } 1097 1092 1098 ASSERT(dirid == mObjectID); 1099 1093 1100 // NOTE: If the above assert fails, an inode number has been reused by the OS, 1094 1101 // or there is a problem somewhere. If this happened on a short test run, look … … 1096 1103 // not indicate anything wrong. 1097 1104 // Run the release version for real life use, where this check is not made. 1105 BOX_TRACE("Storing found file ID " << inodeNum << " (" << filename << " in ID map as object " << latestObjectID << " with parent " << mObjectID << " (" << rLocalPath << ")"); 1098 1106 idMap.AddToMap(inodeNum, objid, mObjectID /* containing directory */); 1099 1107 }
Note: See TracChangeset
for help on using the changeset viewer.
