summaryrefslogtreecommitdiff
path: root/find-root.h
Commit message (Collapse)AuthorAge
* btrfs-progs: Add new find-root.[ch] infrastructureQu Wenruo2015-02-11
Introduce new find-root.[ch] infrastructure which has better tree root judgment and uses much less codes to do it. The new infrastructure will only record tree blocks with highest level among its generation, and do better judgment whether the found tree block is the desired one(level + generation check other than the original generation only check). Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>