summaryrefslogtreecommitdiff
path: root/btrfs-convert.c
diff options
context:
space:
mode:
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>2014-04-24 18:51:10 +0800
committerDavid Sterba <dsterba@suse.cz>2014-10-10 10:38:26 +0200
commit8909f110425f0db35d03c3a6b8ad7ee6b529187a (patch)
tree1e6fab530377e98c35026881369b0dff520bf231 /btrfs-convert.c
parent1d0a3eac0c79e076d35afbcc641a7eda2aa793bc (diff)
btrfs-progs: fsck: add ability to check reloc roots
When encountering system crash or balance enospc errors, there maybe still some reloc roots left. The way we store reloc root is different from fs root: reloc root's root key(BTRFS_RELOC_TREE_OBJECTID, ROOT_ITEM, objectid) fs root's root key(objectid, ROOT_ITEM, -1) reloc data's root key(BTRFS_DATA_RELOC_TREE_OBJECTID, ROOT_ITEM, 0) So this patch use right key to search corresponding root node, and avoid using normal fs root cache for reloc roots. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'btrfs-convert.c')
0 files changed, 0 insertions, 0 deletions