X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=yaffs_guts.c;h=a1782e7a5177a4293058bc7061e5c46206521887;hb=87b146cb7bc31e574084000364d6462e6469bf7d;hp=6524f5f5dc39211897a8c7ad3d3802f711701cc2;hpb=10baaa5fc285ffe29fa5c6d0ab0c58bcce78e3e0;p=yaffs2.git 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--;