Skip to content

Commit

Permalink
Pass blocksize to File in newBlockFile().
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and abh3 committed Jun 30, 2016
1 parent 9c53ad5 commit 14af019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdFileCache/XrdFileCacheIOFileBlock.cc
Expand Up @@ -101,7 +101,7 @@ File* IOFileBlock::newBlockFile(long long off, int blocksize)
File* file;
if (!(file = Cache::GetInstance().GetFileWithLocalPath(fname, this)))
{
file = new File(m_io, fname, off, m_io->FSize());
file = new File(m_io, fname, off, blocksize);
Cache::GetInstance().AddActive(this, file);
}

Expand Down

0 comments on commit 14af019

Please sign in to comment.