summaryrefslogtreecommitdiff
path: root/crc32c.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-10-10 16:57:13 -0400
committerDavid Sterba <dsterba@suse.cz>2014-10-14 10:45:03 +0200
commitb25a40651d15c8ca795ab7a4f1b8150128f09e3c (patch)
tree7e3eaec4a384d5d14b3b8676168405fe7b83444c /crc32c.c
parent994ce2672dbf89fe5a7a18557b15449f0f83af65 (diff)
Btrfs-progs: delete bogus dir indexes
We may run across dir indexes that are corrupt in such a way that it makes them useless, such as having a bad location key or a bad name. In this case we can just delete dir indexes that don't show up properly and then re-create what we need. When we delete dir indexes however we need to restart scanning the fs tree as we could have greated bogus inode recs if the location key was bad, so set it up so that if we had to delete an dir index we go ahead and free up our inode recs and return -EAGAIN to check_fs_roots so it knows to restart the loop. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'crc32c.c')
0 files changed, 0 insertions, 0 deletions