diff options
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | 2014-03-06 13:53:58 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-03-21 06:23:37 -0700 |
commit | 5ec1876c2c7b9495723053e9b4c85adf24821331 (patch) | |
tree | 96d1cd2f29aaa2bd35cefaa695fd297602a75e63 /math.h | |
parent | 1c1e57eb8caaadacdd3db5ee263cffb8dc90df8f (diff) |
Btrfs-progs: fsck: insert root dir into reloc data tree when reiniting it
There are two bugs when resetting balance:
1.we will skip reinitting reloc data tree if no reloc root found, however
this is not right because we don't pin reloc data tree before.
2.we should insert root dir into reloc data tree,otherwise we will fail
to fsck.
Fix problems by forcely reiniting reloc data root and inserting root dir.
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'math.h')
0 files changed, 0 insertions, 0 deletions