summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-02-27 23:35:31 +0000
committerChris Wilson <chris+github@qwirx.com>2014-02-27 23:35:31 +0000
commit99f6de02e5d26c201dc8f6b99b41d9803c3acd4a (patch)
tree5559ed00bf284db4e3195c6673a27959d8f5a20e /lib
parent6532d211951a52c62d2617340447f6bafd540e92 (diff)
Fix buggy directory deletion by housekeeping.
Was introduced by commit bc8261347880b813af58c4b873e1847cca03778d.
Diffstat (limited to 'lib')
-rw-r--r--lib/backupstore/HousekeepStoreAccount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backupstore/HousekeepStoreAccount.cpp b/lib/backupstore/HousekeepStoreAccount.cpp
index b0fb8ab8..9c1100ec 100644
--- a/lib/backupstore/HousekeepStoreAccount.cpp
+++ b/lib/backupstore/HousekeepStoreAccount.cpp
@@ -1056,7 +1056,7 @@ void HousekeepStoreAccount::DeleteEmptyDirectory(int64_t dirId,
mBlocksInDirectoriesDelta += adjust;
}
- if (!mapNewRefs->RemoveReference(dir.GetObjectID()))
+ if (mapNewRefs->RemoveReference(dir.GetObjectID()))
{
// Still referenced
BOX_TRACE("Housekeeping spared empty deleted dir " <<