|
@@ -432,7 +432,7 @@ public class INodeFile extends INodeWithAdditionalFields
|
|
return snapshotBlocks;
|
|
return snapshotBlocks;
|
|
// Blocks are not in the current snapshot
|
|
// Blocks are not in the current snapshot
|
|
// Find next snapshot with blocks present or return current file blocks
|
|
// Find next snapshot with blocks present or return current file blocks
|
|
- snapshotBlocks = getDiffs().findLaterSnapshotBlocks(diff.getSnapshotId());
|
|
|
|
|
|
+ snapshotBlocks = getDiffs().findLaterSnapshotBlocks(snapshot);
|
|
return (snapshotBlocks == null) ? getBlocks() : snapshotBlocks;
|
|
return (snapshotBlocks == null) ? getBlocks() : snapshotBlocks;
|
|
}
|
|
}
|
|
|
|
|