summaryrefslogtreecommitdiff
path: root/yaffs_guts.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--yaffs_guts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaffs_guts.c b/yaffs_guts.c
index 6524f5f..a1782e7 100644
--- a/yaffs_guts.c
+++ b/yaffs_guts.c
@@ -2223,6 +2223,7 @@ static int yaffs_GarbageCollectBlock(yaffs_Device *dev, int block,
* We have to decrement free chunks so this works out properly.
*/
dev->nFreeChunks--;
+ bi->softDeletions--;
object->nDataChunks--;