Block newBlock = new Block(blockId, info.getLength(),
info.getGenStamp());
boolean isInlineChecksum = info.isInlineChecksum();
DatanodeBlockInfo diskBlockInfo = null;
if (isInlineChecksum) {
GenStampAndChecksum sac = BlockInlineChecksumReader
.getGenStampAndChecksumFromInlineChecksumFile(info
.getBlockFile().getName());
diskBlockInfo = new DatanodeBlockInfo(info.getVolume(),
info.getBlockFile(), info.getLength(), true, true,
sac.checksumType, sac.bytesPerChecksum, false, 0);