diff options
Diffstat (limited to 'zenstore')
| -rw-r--r-- | zenstore/cidstore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/cidstore.cpp b/zenstore/cidstore.cpp index 6cf9ee734..55bec817f 100644 --- a/zenstore/cidstore.cpp +++ b/zenstore/cidstore.cpp @@ -237,7 +237,7 @@ struct CidStore::Impl std::vector<IndexEntry> RemovedEntries; RemovedEntries.reserve(CasChunks.GetSize()); { - RwLock::SharedLockScope _(m_Lock); + RwLock::ExclusiveLockScope _(m_Lock); for (auto It = m_CidMap.begin(), End = m_CidMap.end(); It != End;) { if (CasChunks.ContainsChunk(It->second)) |