XL: Add new metadata for checksum. (#1743)

This commit is contained in:
Harshavardhana
2016-05-24 17:48:58 -07:00
committed by Harshavardhana
parent b38b9fea79
commit 1e393c6c5b
7 changed files with 48 additions and 31 deletions

View File

@@ -136,8 +136,7 @@ func (e erasure) ReadFile(volume, path string, startOffset int64, totalSize int6
totalLeft = totalLeft - erasureBlockSize
continue
}
// Now get back the remaining offset if startOffset is
// negative.
// Now get back the remaining offset if startOffset is negative.
startOffset = startOffset + int64(len(dataBlocks))
}