summaryrefslogtreecommitdiff
path: root/dir-item.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-10-10 16:57:11 -0400
committerDavid Sterba <dsterba@suse.cz>2014-10-14 10:40:22 +0200
commita8e9c9a65b337117e87d2a040697edf6816369c3 (patch)
tree8bd13b02f7279e7c0ab88f0b02a40abd82d00356 /dir-item.c
parent2ba12173d59af0b3f8885494eae9efbe15d143d6 (diff)
Btrfs-progs: reset chunk state if we restart check
If we hid a corrupt block that we fix and we restart the fsck loop you will get lots of noise about duplicate block groups and such. This is because we don't clear the block group and chunk cache when we do this restart. This patch fixes that, which is a little tricky since the structs are linked together with various linked lists, but this passed with a user who was hitting this problem. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'dir-item.c')
0 files changed, 0 insertions, 0 deletions