summaryrefslogtreecommitdiff
path: root/extent-cache.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-09-29 12:39:46 -0400
committerDavid Sterba <dsterba@suse.cz>2014-10-01 16:35:18 +0200
commit3fce2fa9a136ed79e32b50d5ba4c34ea521f59ef (patch)
tree5d01d7a6040c26b9eb488bf90dacb3868c355e4e /extent-cache.h
parentf28ad306b348324b2b29ba0f7973dbae3a53d4e4 (diff)
btrfs-progs: add root to dirty list when fixing bad keys
A user reported a WARN_ON() when trying to run btrfsck --repair on his fs with bad key ordering. This was because the root that was broken wasn't part of the transaction yet. We do this open coded thing in a few other places in fsck, so just make it a helper function and make sure all the places that need to call it do call it. With this patch he was able to run repair without it dying. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'extent-cache.h')
0 files changed, 0 insertions, 0 deletions