commit | 9b90f5135320bc74dc6c9a8c74d69fd4821d9282 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Fri Jun 24 16:02:51 2011 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Sat Jun 25 09:31:06 2011 -0400 |
tree | d149650ba8e15a1ec22b3832482e9b24ea420fa3 | |
parent | e0f5406727f1dfdc47b8ba4a0ff6eae4b0b5ed4c [diff] |
Btrfs: make sure to update total_bitmaps when freeing cache V3 A user reported this bug again where we have more bitmaps than we are supposed to. This is because we failed to load the free space cache, but don't update the ctl->total_bitmaps counter when we remove entries from the tree. This patch fixes this problem and we should be good to go again. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>